Files
libremetaverse/Programs/examples/TestClient/Commands/Movement/SetHome.cs

19 lines
454 B
C#
Raw Normal View History

namespace OpenMetaverse.TestClient
{
public class SetHomeCommand : Command
{
public SetHomeCommand(TestClient testClient)
{
Name = "sethome";
Description = "Sets home to the current location.";
Category = CommandCategory.Movement;
}
public override string Execute(string[] args, UUID fromAgentID)
{
Client.Self.SetHome();
return "Home Set";
}
}
}