2007-05-21 04:30:31 +00:00
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
2008-07-21 21:12:59 +00:00
|
|
|
using OpenMetaverse;
|
|
|
|
|
using OpenMetaverse.Packets;
|
2007-05-21 04:30:31 +00:00
|
|
|
|
2008-07-21 21:12:59 +00:00
|
|
|
namespace OpenMetaverse.TestClient
|
2007-05-21 04:30:31 +00:00
|
|
|
{
|
|
|
|
|
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";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|