aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/mass test client/Commands/Movement/SetHome.cs
blob: 5e14ca6d6ffac2cda8233c0ea8238b32f7138427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using libsecondlife.Packets;

namespace libsecondlife.TestClient
{
    public class SetHomeCommand : Command
    {
		public SetHomeCommand(TestClient testClient)
        {
            Name = "sethome";
            Description = "Sets home to the current location.";
        }

        public override string Execute(string[] args, LLUUID fromAgentID)
        {
			Client.Self.SetHome();
            return "Home Set";
        }
    }
}