quote:
Originally posted by CrAzY_KeBaB
code:
int run=0;
int x=1;
int y=0;
JScript only accepts the var prefix for every type of variable declarations. So, this will be:
code:
var run=0;
var x=1;
var y=0;
I didn't took a look at your other code, but that should at least fix that.
Also, try this:
code:
function OnEvent_Initialize(MessengerStart) {
Debug.DebuggingWindowVisible = true;
}
with the script debugger enabled (Plus! preferences > Scripts > Enable script debugging) to see what error you get on what line in your script.