View Single Post
  #23939    
Old February 20th, 2013, 07:53 AM
karatekid552's Avatar
karatekid552
What happens if I push it?....
 
Join Date: Nov 2012
Location: Do you really want to know? Really?
Gender: Male
Nature: Bold
Send a message via AIM to karatekid552 Send a message via Windows Live Messenger to karatekid552 Send a message via Skype™ to karatekid552
Quote:
Originally Posted by LocksmithArmy View Post
thanks... here is another simple one...

do yes no questions HAVE to have a yes and no answer... could I just have a no answer and if its not no it was obviously yes...

instead of:
Spoiler:
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT YES
if == jump 0x8800190 ' Equal To
compare LASTRESULT 0x0
if == jump 0x8800160 ' Equal To


I use something like:
Spoiler:
callstd MSG_YESNO ' Yes/No message
compare LASTRESULT 0x0
if == jump 0x8800160 ' Equal To
jump 0x8800190
Exactly. If it doesn't jump for yes, then the answer was obviously no. Unless you use call and return, then you would need to have a second compare command since it is returning back to the script.
__________________

Paired with Simba