morphsx Posted April 24, 2013 Posted April 24, 2013 I would like to know if I can use the following syntax with checkquest in my script: if (checkquest(xxxx)>-1<2) { } or if (checkquest(xxxx) ==0 or ==1 { } This way, it won't care if the quest is active or inactive and I don't have to write both situations. Will it work? Thanks Quote
-SkittleNugget- Posted April 24, 2013 Posted April 24, 2013 (edited) If ((checkquest(xxxx) == 0) || (checkquest(xxxx) == 1)) { script. } || = OR statement. Edited April 24, 2013 by Metamorphic 1 Quote
morphsx Posted April 25, 2013 Author Posted April 25, 2013 -.-' Man, how could I forget that?? Hahaha, Anyway, thanks very much. Solved. Quote
Question
morphsx
I would like to know if I can use the following syntax with checkquest in my script:
or
This way, it won't care if the quest is active or inactive and I don't have to write both situations.
Will it work?
Thanks
2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.