diff options
Diffstat (limited to 'ExportBot/Commands/Inventory/BalanceCommand.cs')
-rw-r--r-- | ExportBot/Commands/Inventory/BalanceCommand.cs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/ExportBot/Commands/Inventory/BalanceCommand.cs b/ExportBot/Commands/Inventory/BalanceCommand.cs new file mode 100644 index 0000000..92e9b39 --- /dev/null +++ b/ExportBot/Commands/Inventory/BalanceCommand.cs | |||
@@ -0,0 +1,21 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using libsecondlife; | ||
4 | using libsecondlife.Packets; | ||
5 | |||
6 | namespace libsecondlife.TestClient | ||
7 | { | ||
8 | public class BalanceCommand: Command | ||
9 | { | ||
10 | public BalanceCommand(TestClient testClient) | ||
11 | { | ||
12 | Name = "balance"; | ||
13 | Description = "Shows the amount of L$."; | ||
14 | } | ||
15 | |||
16 | public override string Execute(string[] args, LLUUID fromAgentID) | ||
17 | { | ||
18 | return Client.ToString() + " has L$: " + Client.Self.Balance; | ||
19 | } | ||
20 | } | ||
21 | } | ||