diff options
author | Justin Clark-Casey (justincc) | 2011-10-19 21:34:55 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-19 21:34:55 +0100 |
commit | f836710af510e25d9861997ad0dcea3ee3001934 (patch) | |
tree | a2af68954da327c00964689218018dc8f01843bb | |
parent | Fix resume scripts. (diff) | |
download | opensim-SC_OLD-f836710af510e25d9861997ad0dcea3ee3001934.zip opensim-SC_OLD-f836710af510e25d9861997ad0dcea3ee3001934.tar.gz opensim-SC_OLD-f836710af510e25d9861997ad0dcea3ee3001934.tar.bz2 opensim-SC_OLD-f836710af510e25d9861997ad0dcea3ee3001934.tar.xz |
minor: improve command help on scripts suspend/resume
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index 5ee8dbf..acbf7df 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -278,12 +278,15 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
278 | MainConsole.Instance.Commands.AddCommand( | 278 | MainConsole.Instance.Commands.AddCommand( |
279 | "scripts", false, "scripts suspend", "scripts suspend", "Suspend all scripts", | 279 | "scripts", false, "scripts suspend", "scripts suspend", "Suspend all scripts", |
280 | "Suspends all currently running scripts. This only suspends event delivery, it will not suspend a" | 280 | "Suspends all currently running scripts. This only suspends event delivery, it will not suspend a" |
281 | + " script that is currently processing an event.", | 281 | + " script that is currently processing an event.\n" |
282 | + "Suspended scripts will continue to accumulate events but won't process them.", | ||
282 | HandleSuspendScripts); | 283 | HandleSuspendScripts); |
283 | 284 | ||
284 | MainConsole.Instance.Commands.AddCommand( | 285 | MainConsole.Instance.Commands.AddCommand( |
285 | "scripts", false, "scripts resume", "scripts resume", "Resume all scripts", | 286 | "scripts", false, "scripts resume", "scripts resume", "Resume all scripts", |
286 | "Resumes all currently suspended scripts", HandleResumeScripts); | 287 | "Resumes all currently suspended scripts.\n" |
288 | + "Resumed scripts will process all events accumulated whilst suspended.", | ||
289 | HandleResumeScripts); | ||
287 | } | 290 | } |
288 | 291 | ||
289 | public void HandleShowScripts(string module, string[] cmdparams) | 292 | public void HandleShowScripts(string module, string[] cmdparams) |