Actually, I am using this to abort a long script if I change my mind. Scraping for instance can take a long time, so this is a nice option. I did figure it out, here is a sample script:
set(#test, 10, "Global")
if(#test = 10) {
then {
alert("zero")
}
else {
alert("one")
}
}
Instead of the alert, you can add the stop script command. The problem I had with the if statement was that I couldn't figure out what the syntax was for the condition was. I thought I read somewhere on here that you had to use curly brackets (goes like this {#test}) otherwise the variabl