Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Not Oporator

4 years ago

Quick question: Is there a not operator or does-not-equal operator? I tried "=!" as a not operator and wrote "

IF $PAGEID =! 0 THEN %VAR := %VARR

", but I got an error at the "!". Can anyone help me figure out how to use the not operator?

Not Oporator

4 years ago
Are you from Infinite Story?

You can have it check for a variable not being something with link restrictions to control whether a choice shows up, but I don't think there's any way when you're writing a script directly.

You can just tell it to look at everything above and below a certain number easily enough, though.

Not Operator

4 years ago

Yes, I came from there. I like the CYS advanced editor, though. Thanks for the information.

Not Oporator

4 years ago
You were so close haha!

The not operator is !=

Not Oporator

4 years ago
Well I feel stupid now.

I've literally never needed to do that for a script and couldn't remember it coming up with anybody else.

Not Oporator

4 years ago

OOOOOOhhhhhhh!!!! I always have problems like that in coding. Thank you all for your help and time.