* 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:
Adam Frisby
2007-07-15 22:04:56 +00:00
parent 173c5ee79e
commit f2c449f10e
6 changed files with 59 additions and 3 deletions

View File

@@ -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":