* fixed script compilation
* reversed //c# - if * rightifyed what's actually convertedafrisby
parent
8849637493
commit
1b1808d45d
|
@ -39,7 +39,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
||||||
{
|
{
|
||||||
if (Script.Substring(0, 4).ToLower() == "//c#")
|
if (Script.Substring(0, 4).ToLower() == "//c#")
|
||||||
{
|
{
|
||||||
return LSL_Converter.Convert(Script);
|
return CompileFromCSText( Script );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
//c#
|
||||||
|
namespace SecondLife {
|
||||||
|
public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass
|
||||||
|
{
|
||||||
|
public Script() { }
|
||||||
|
|
||||||
|
public void default_event_state_entry( )
|
||||||
|
{
|
||||||
|
llSay(0, "testing, I've been touched");
|
||||||
|
}
|
||||||
|
|
||||||
|
}}
|
Loading…
Reference in New Issue