Files
libremetaverse/Programs/examples/TestClient/Commands/Movement/GoHome.cs
Cinder Roxley 6ee065573e Easy returns
2024-07-01 12:17:07 -05:00

18 lines
481 B
C#

namespace OpenMetaverse.TestClient
{
public class GoHomeCommand : Command
{
public GoHomeCommand(TestClient testClient)
{
Name = "gohome";
Description = "Teleports home";
Category = CommandCategory.Movement;
}
public override string Execute(string[] args, UUID fromAgentID)
{
return Client.Self.GoHome() ? "Teleport Home Succesful" : "Teleport Home Failed";
}
}
}