git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1161 52acb1d6-8a22-11de-b505-999d5b087335
22 lines
465 B
C#
22 lines
465 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using libsecondlife;
|
|
using libsecondlife.Packets;
|
|
|
|
namespace libsecondlife.TestClient
|
|
{
|
|
public class BalanceCommand: Command
|
|
{
|
|
public BalanceCommand(TestClient testClient)
|
|
{
|
|
Name = "balance";
|
|
Description = "Shows the amount of L$.";
|
|
}
|
|
|
|
public override string Execute(string[] args, LLUUID fromAgentID)
|
|
{
|
|
return Client.ToString() + " has L$: " + Client.Self.Balance;
|
|
}
|
|
}
|
|
}
|