corrade-vassal – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | vero | 1 | using System; |
2 | using OpenMetaverse; |
||
3 | |||
4 | namespace OpenMetaverse.TestClient |
||
5 | { |
||
6 | public class GoHomeCommand : Command |
||
7 | { |
||
8 | public GoHomeCommand(TestClient testClient) |
||
9 | { |
||
10 | Name = "gohome"; |
||
11 | Description = "Teleports home"; |
||
12 | Category = CommandCategory.Movement; |
||
13 | } |
||
14 | |||
15 | public override string Execute(string[] args, UUID fromAgentID) |
||
16 | { |
||
17 | if ( Client.Self.GoHome() ) { |
||
18 | return "Teleport Home Succesful"; |
||
19 | } else { |
||
20 | return "Teleport Home Failed"; |
||
21 | } |
||
22 | } |
||
23 | } |
||
24 | } |