aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ExportBot/Commands/Inventory/BalanceCommand.cs
blob: 92e9b3944163ce5d137249e5ddb3708fabecfcfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;
		}
    }
}