19 lines
478 B
C#
19 lines
478 B
C#
namespace OpenMetaverse.TestClient
|
|
{
|
|
public class LocationCommand: Command
|
|
{
|
|
public LocationCommand(TestClient testClient)
|
|
{
|
|
Name = "location";
|
|
Description = "Show current location of avatar.";
|
|
Category = CommandCategory.Movement;
|
|
}
|
|
|
|
public override string Execute(string[] args, UUID fromAgentID)
|
|
{
|
|
return "CurrentSim: '" + Client.Network.CurrentSim + "' Position: " +
|
|
Client.Self.SimPosition;
|
|
}
|
|
}
|
|
}
|