mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
E.g. llSubStringIndex(...) > -1 was converted into !~llSubStringIndex(...) which is incorrect. We even had a test case for it... with a wrong expected response file. Bug report and test case by Sinha Hynes (thanks!)
18 lines
428 B
Text
18 lines
428 B
Text
default
|
|
{
|
|
changed(integer ch)
|
|
{
|
|
if (!~llListFindList(llGetPrimitiveParams((list)9), (list)"a"))
|
|
llDie();
|
|
if (!llSameGroup(llGetOwner()))
|
|
llOwnerSay("e");
|
|
llOwnerSay("f");
|
|
llOwnerSay("g");
|
|
llOwnerSay("h");
|
|
llOwnerSay("A");
|
|
llOwnerSay("B");
|
|
llOwnerSay("C");
|
|
if (llSameGroup(llGetOwner()))
|
|
llOwnerSay("D");
|
|
}
|
|
}
|