From a7de0ae9ec9226760ce134200ee692b825993061 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 10 Apr 2009 21:44:27 +0000 Subject: Make the scrpt engines ignore any script that begins with //MRM: --- OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs index d05fb51..548b0ac 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/EventManager.cs @@ -240,6 +240,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine public void OnRezScript(uint localID, UUID itemID, string script, int startParam, bool postOnRez, string engine, int stateSource) { + if (script.StartsWith("//MRM:")) + return; + List engines = new List( myScriptEngine.World.RequestModuleInterfaces()); -- cgit v1.1