diff options
author | Adam Frisby | 2007-07-15 22:04:56 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-15 22:04:56 +0000 |
commit | f2c449f10e7c6b7dc3468ecdaea9e97039e1e0a9 (patch) | |
tree | 75400e1a09fc051352db022667d0718fa372b34e /OpenSim/Region/Application/OpenSimMain.cs | |
parent | *Fixed master avatar requesting when in grid mode. (diff) | |
download | opensim-SC_OLD-f2c449f10e7c6b7dc3468ecdaea9e97039e1e0a9.zip opensim-SC_OLD-f2c449f10e7c6b7dc3468ecdaea9e97039e1e0a9.tar.gz opensim-SC_OLD-f2c449f10e7c6b7dc3468ecdaea9e97039e1e0a9.tar.bz2 opensim-SC_OLD-f2c449f10e7c6b7dc3468ecdaea9e97039e1e0a9.tar.xz |
* Added new scripting related events, in particular a new event which is triggered by console commands so that the script can subscribe to console messages and operate when they occur.
* Added new example script (work in progress)
* Fixed typo in Scripting engines for C# and JScript.NET
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Application/OpenSimMain.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Application/OpenSimMain.cs b/OpenSim/Region/Application/OpenSimMain.cs index ab03ed1..6968c41 100644 --- a/OpenSim/Region/Application/OpenSimMain.cs +++ b/OpenSim/Region/Application/OpenSimMain.cs | |||
@@ -422,7 +422,7 @@ namespace OpenSim | |||
422 | { | 422 | { |
423 | case "help": | 423 | case "help": |
424 | m_log.Error("show users - show info about connected users"); | 424 | m_log.Error("show users - show info about connected users"); |
425 | m_log.Error("shutdown - disconnect all clients and shutdown"); | 425 | m_log.Error("quit - disconnect all clients and shutdown"); |
426 | break; | 426 | break; |
427 | 427 | ||
428 | case "show": | 428 | case "show": |
@@ -442,6 +442,12 @@ namespace OpenSim | |||
442 | } | 442 | } |
443 | } | 443 | } |
444 | break; | 444 | break; |
445 | case "script": | ||
446 | for (int i = 0; i < m_localWorld.Count; i++) | ||
447 | { | ||
448 | ((Scene)m_localWorld[i]).SendCommandToScripts(cmdparams); | ||
449 | } | ||
450 | break; | ||
445 | 451 | ||
446 | case "quit": | 452 | case "quit": |
447 | case "shutdown": | 453 | case "shutdown": |