aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ExportBot/Commands/Inventory/BalanceCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ExportBot/Commands/Inventory/BalanceCommand.cs')
-rw-r--r--ExportBot/Commands/Inventory/BalanceCommand.cs21
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 @@
1using System;
2using System.Collections.Generic;
3using libsecondlife;
4using libsecondlife.Packets;
5
6namespace 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}