aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/mass test client/Commands/Inventory/BalanceCommand.cs
blob: 46044f2a016eb124351547218f249d2a2afe7eb0 (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;
		}
    }
}