diff options
Added some Alert methods to Scene , and a console command handler. So from the console to send alerts use : alert general <message> , for a instance wide message , or use alert firstname secondname <message> to send a alert to one user. (TODO: add region wide messages).
Diffstat (limited to 'OpenSim/Region/Application')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index 81523e0..8a1e0f1 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -361,6 +361,13 @@ namespace OpenSim | |||
361 | } | 361 | } |
362 | break; | 362 | break; |
363 | 363 | ||
364 | case "alert": | ||
365 | for (int i = 0; i < m_localWorld.Count; i++) | ||
366 | { | ||
367 | ((Scene)m_localWorld[i]).HandleAlertCommand(cmdparams); | ||
368 | } | ||
369 | break; | ||
370 | |||
364 | case "quit": | 371 | case "quit": |
365 | case "shutdown": | 372 | case "shutdown": |
366 | Shutdown(); | 373 | Shutdown(); |