From 601dabb1b73a894e4f2f61abe6e9053d380008cd Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 19 Oct 2011 22:30:31 +0100 Subject: Extend scripts stop/start/suspend/resume console commands to allow action on a single script by giving the script item id (which can be found via scripts show). Not an ideal way to do this on a region with many scripts. Needs refinement later. --- OpenSim/Region/Framework/Interfaces/IScriptModule.cs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Framework/Interfaces/IScriptModule.cs') diff --git a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs index b27b7da..950e4b0 100644 --- a/OpenSim/Region/Framework/Interfaces/IScriptModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IScriptModule.cs @@ -41,12 +41,16 @@ namespace OpenSim.Region.Framework.Interfaces bool PostScriptEvent(UUID itemID, string name, Object[] args); bool PostObjectEvent(UUID itemID, string name, Object[] args); - // Suspend ALL scripts in a given scene object. The item ID - // is the UUID of a SOG, and the method acts on all contained - // scripts. This is different from the suspend/resume that - // can be issued by a client. - // + /// + /// Suspends a script. + /// + /// The item ID of the script. void SuspendScript(UUID itemID); + + /// + /// Resumes a script. + /// + /// The item ID of the script. void ResumeScript(UUID itemID); ArrayList GetScriptErrors(UUID itemID); -- cgit v1.1