diff options
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r-- | OpenSim/Tools/pCampBot/BotManager.cs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs index 3c1b11e..abc71cb 100644 --- a/OpenSim/Tools/pCampBot/BotManager.cs +++ b/OpenSim/Tools/pCampBot/BotManager.cs | |||
@@ -176,57 +176,57 @@ namespace pCampBot | |||
176 | } | 176 | } |
177 | 177 | ||
178 | m_console.Commands.AddCommand( | 178 | m_console.Commands.AddCommand( |
179 | "bot", false, "shutdown", "shutdown", "Shutdown bots and exit", HandleShutdown); | 179 | "Bots", false, "shutdown", "shutdown", "Shutdown bots and exit", HandleShutdown); |
180 | 180 | ||
181 | m_console.Commands.AddCommand( | 181 | m_console.Commands.AddCommand( |
182 | "bot", false, "quit", "quit", "Shutdown bots and exit", HandleShutdown); | 182 | "Bots", false, "quit", "quit", "Shutdown bots and exit", HandleShutdown); |
183 | 183 | ||
184 | m_console.Commands.AddCommand( | 184 | m_console.Commands.AddCommand( |
185 | "bot", false, "connect", "connect [<n>]", "Connect bots", | 185 | "Bots", false, "connect", "connect [<n>]", "Connect bots", |
186 | "If an <n> is given, then the first <n> disconnected bots by postfix number are connected.\n" | 186 | "If an <n> is given, then the first <n> disconnected bots by postfix number are connected.\n" |
187 | + "If no <n> is given, then all currently disconnected bots are connected.", | 187 | + "If no <n> is given, then all currently disconnected bots are connected.", |
188 | HandleConnect); | 188 | HandleConnect); |
189 | 189 | ||
190 | m_console.Commands.AddCommand( | 190 | m_console.Commands.AddCommand( |
191 | "bot", false, "disconnect", "disconnect [<n>]", "Disconnect bots", | 191 | "Bots", false, "disconnect", "disconnect [<n>]", "Disconnect bots", |
192 | "Disconnecting bots will interupt any bot connection process, including connection on startup.\n" | 192 | "Disconnecting bots will interupt any bot connection process, including connection on startup.\n" |
193 | + "If an <n> is given, then the last <n> connected bots by postfix number are disconnected.\n" | 193 | + "If an <n> is given, then the last <n> connected bots by postfix number are disconnected.\n" |
194 | + "If no <n> is given, then all currently connected bots are disconnected.", | 194 | + "If no <n> is given, then all currently connected bots are disconnected.", |
195 | HandleDisconnect); | 195 | HandleDisconnect); |
196 | 196 | ||
197 | m_console.Commands.AddCommand( | 197 | m_console.Commands.AddCommand( |
198 | "bot", false, "add behaviour", "add behaviour <abbreviated-name> [<bot-number>]", | 198 | "Bots", false, "add behaviour", "add behaviour <abbreviated-name> [<bot-number>]", |
199 | "Add a behaviour to a bot", | 199 | "Add a behaviour to a bot", |
200 | "If no bot number is specified then behaviour is added to all bots.\n" | 200 | "If no bot number is specified then behaviour is added to all bots.\n" |
201 | + "Can be performed on connected or disconnected bots.", | 201 | + "Can be performed on connected or disconnected bots.", |
202 | HandleAddBehaviour); | 202 | HandleAddBehaviour); |
203 | 203 | ||
204 | m_console.Commands.AddCommand( | 204 | m_console.Commands.AddCommand( |
205 | "bot", false, "remove behaviour", "remove behaviour <abbreviated-name> [<bot-number>]", | 205 | "Bots", false, "remove behaviour", "remove behaviour <abbreviated-name> [<bot-number>]", |
206 | "Remove a behaviour from a bot", | 206 | "Remove a behaviour from a bot", |
207 | "If no bot number is specified then behaviour is added to all bots.\n" | 207 | "If no bot number is specified then behaviour is added to all bots.\n" |
208 | + "Can be performed on connected or disconnected bots.", | 208 | + "Can be performed on connected or disconnected bots.", |
209 | HandleRemoveBehaviour); | 209 | HandleRemoveBehaviour); |
210 | 210 | ||
211 | m_console.Commands.AddCommand( | 211 | m_console.Commands.AddCommand( |
212 | "bot", false, "sit", "sit", "Sit all bots on the ground.", | 212 | "Bots", false, "sit", "sit", "Sit all bots on the ground.", |
213 | HandleSit); | 213 | HandleSit); |
214 | 214 | ||
215 | m_console.Commands.AddCommand( | 215 | m_console.Commands.AddCommand( |
216 | "bot", false, "stand", "stand", "Stand all bots.", | 216 | "Bots", false, "stand", "stand", "Stand all bots.", |
217 | HandleStand); | 217 | HandleStand); |
218 | 218 | ||
219 | m_console.Commands.AddCommand( | 219 | m_console.Commands.AddCommand( |
220 | "bot", false, "set bots", "set bots <key> <value>", "Set a setting for all bots.", HandleSetBots); | 220 | "Bots", false, "set bots", "set bots <key> <value>", "Set a setting for all bots.", HandleSetBots); |
221 | 221 | ||
222 | m_console.Commands.AddCommand( | 222 | m_console.Commands.AddCommand( |
223 | "bot", false, "show regions", "show regions", "Show regions known to bots", HandleShowRegions); | 223 | "Bots", false, "show regions", "show regions", "Show regions known to bots", HandleShowRegions); |
224 | 224 | ||
225 | m_console.Commands.AddCommand( | 225 | m_console.Commands.AddCommand( |
226 | "bot", false, "show bots", "show bots", "Shows the status of all bots", HandleShowBotsStatus); | 226 | "Bots", false, "show bots", "show bots", "Shows the status of all bots", HandleShowBotsStatus); |
227 | 227 | ||
228 | m_console.Commands.AddCommand( | 228 | m_console.Commands.AddCommand( |
229 | "bot", false, "show bot", "show bot <bot-number>", | 229 | "Bots", false, "show bot", "show bot <bot-number>", |
230 | "Shows the detailed status and settings of a particular bot.", HandleShowBotStatus); | 230 | "Shows the detailed status and settings of a particular bot.", HandleShowBotStatus); |
231 | 231 | ||
232 | m_bots = new List<Bot>(); | 232 | m_bots = new List<Bot>(); |