Apparent nonsense...

Considering this script:

if (timeout) {

if (#L == wolf__17-21_questentrance){this.cats=432;}
if (#L == wolf__17-21_1f-e){this.cats=45432;}
say2 #v(this.cats);
timereverywhere;
timeout = 0.5;

}

Why does this.cats = 45432 while I’m in wolf__17-21_questentrance?

Probably because comparing strings like that isn’t legal. Use this instead:

if (strequals(#L,wolf__17-21_questentrance)){this.cats = 432;
else if (strequals(#L,wolf__17-21_1f-e)){this.cats=45432;}

I spent most of the evening on it and ended up deleting the whole code to boil it down to the error ><
…I’m starting to think gscript is partly broken.
Like it doesn’t seem to accept strings in arrays… unless… unless I was missing strequals again.

If it ain’t broken, it ain’t Graal.

[QUOTE=2ndwolf;97331]
I spent most of the evening on it and ended up deleting the whole code to boil it down to the error ><
…I’m starting to think gscript is partly broken.
Like it doesn’t seem to accept strings in arrays… unless… unless I was missing strequals again.
[/QUOTE]

Gs1 seems like that, but each time I had an error i’d rip apart my script only to keep on finding it was a silly little error on my part.