From 64a98c736848de6099254f23483058668273c1a5 Mon Sep 17 00:00:00 2001 From: gareth Date: Mon, 14 May 2007 03:13:47 +0000 Subject: Finished off adding the new management API to gridserver Updated VersionInfo.cs finally Updated prebuild and rebuilt nant build files Completed Management agent basics --- ExportBot/Commands/SetMasterKeyCommand.cs | 35 ------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 ExportBot/Commands/SetMasterKeyCommand.cs (limited to 'ExportBot/Commands/SetMasterKeyCommand.cs') diff --git a/ExportBot/Commands/SetMasterKeyCommand.cs b/ExportBot/Commands/SetMasterKeyCommand.cs deleted file mode 100644 index 0085f79..0000000 --- a/ExportBot/Commands/SetMasterKeyCommand.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; -using libsecondlife; -using libsecondlife.Packets; - -namespace libsecondlife.TestClient -{ - public class SetMasterKeyCommand : Command - { - public DateTime Created = DateTime.Now; - - public SetMasterKeyCommand(TestClient testClient) - { - Name = "setMasterKey"; - Description = "Sets the key of the master user. The master user can IM to run commands."; - } - - public override string Execute(string[] args, LLUUID fromAgentID) - { - Client.MasterKey = LLUUID.Parse(args[0]); - - foreach (Avatar av in Client.AvatarList.Values) - { - if (av.ID == Client.MasterKey) - { - Client.Self.InstantMessage(av.ID, "You are now my master. IM me with \"help\" for a command list."); - break; - } - } - - return "Master set to " + Client.MasterKey; - } - } -} -- cgit v1.1