From fdd56024227d7cc9977a147b8af5f315f64f6a41 Mon Sep 17 00:00:00 2001 From: Brian McBee Date: Sat, 18 Aug 2007 16:56:05 +0000 Subject: llstrenglength (thanks ldvoipeng!) --- .../DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index 2417017..6c43b06 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs @@ -207,7 +207,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL public void llMinEventDelay(double delay) { } public void llSoundPreload() { } public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { } - public int llStringLength(string str) { return 0; } + + public int llStringLength(string str) + { + if(str.Length > 0) + { + return str.Length; + } + else + { + return 0; + } + } + public void llStartAnimation(string anim) { } public void llStopAnimation(string anim) { } public void llPointAt() { } -- cgit v1.1