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/XEngine/XEngine.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/XEngine') diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index a78dad6..037c494 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs @@ -353,6 +353,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine 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(m_Scene.RequestModuleInterfaces()); List names = new List(); -- cgit v1.1