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

18 lines
481 B
C#
Raw Normal View History

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)
{
2024-07-01 12:17:07 -05:00
return Client.Self.GoHome() ? "Teleport Home Succesful" : "Teleport Home Failed";
}
}
}