mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
* 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
This commit is contained in:
@@ -422,7 +422,7 @@ namespace OpenSim
|
||||
{
|
||||
case "help":
|
||||
m_log.Error("show users - show info about connected users");
|
||||
m_log.Error("shutdown - disconnect all clients and shutdown");
|
||||
m_log.Error("quit - disconnect all clients and shutdown");
|
||||
break;
|
||||
|
||||
case "show":
|
||||
@@ -442,6 +442,12 @@ namespace OpenSim
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "script":
|
||||
for (int i = 0; i < m_localWorld.Count; i++)
|
||||
{
|
||||
((Scene)m_localWorld[i]).SendCommandToScripts(cmdparams);
|
||||
}
|
||||
break;
|
||||
|
||||
case "quit":
|
||||
case "shutdown":
|
||||
|
||||
Reference in New Issue
Block a user