aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Application
diff options
context:
space:
mode:
authorMW2007-07-19 10:44:19 +0000
committerMW2007-07-19 10:44:19 +0000
commit0b6e332e16cd7df588d3502318a722706d78928c (patch)
tree7e806ab6b6a4f316d5928443a0006a434ef3c451 /OpenSim/Region/Application
parent* Fixing sandbox mode crash caused by removal of LocalStorage during cleanup ... (diff)
downloadopensim-SC-0b6e332e16cd7df588d3502318a722706d78928c.zip
opensim-SC-0b6e332e16cd7df588d3502318a722706d78928c.tar.gz
opensim-SC-0b6e332e16cd7df588d3502318a722706d78928c.tar.bz2
opensim-SC-0b6e332e16cd7df588d3502318a722706d78928c.tar.xz
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.cs7
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();