morphsx Posted April 24, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 01/31/13 Last Seen: May 27, 2014 Share 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 Link to comment Share on other sites More sharing options...
-SkittleNugget- Posted April 24, 2013 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 318 Reputation: 54 Joined: 12/23/12 Last Seen: July 1, 2017 Share Posted April 24, 2013 (edited) If ((checkquest(xxxx) == 0) || (checkquest(xxxx) == 1)) { script. } || = OR statement. Edited April 24, 2013 by Metamorphic 1 Quote Link to comment Share on other sites More sharing options...
morphsx Posted April 25, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 8 Reputation: 0 Joined: 01/31/13 Last Seen: May 27, 2014 Author Share Posted April 25, 2013 -.-' Man, how could I forget that?? Hahaha, Anyway, thanks very much. Solved. Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.