Player answering Yes/No Question help

CheshireTiger
28 Mar 2018, 18:56[SOLVED] I need someone to explain how to program yes/no questions and answers
Ask question: text "Something wrong, my boy?"
after choosing run script:
Get input then run script:
If Expression No
Print message "TESTING"
The above seems correct to me, but when texting in game, there is an error
Error compiling expression 'No':vunknown object or variable 'No'

K.V.
28 Mar 2018, 20:36GUI view:
Code view:
Ask ("Something wrong, my boy?"){
if (result){
msg("TESTING: Answered 'YES'")
}
else {
msg ("TESTING: Answered 'NO'")
}
}
The Pixie
28 Mar 2018, 20:41The Ask function will put the result in a variable called result
(all lower case, no quotes), and you need to check that.
Ask question [text] ["Something wrong, my boy?"]
^ After choosing run script:
If [expression] [result]
^ Then:
Print [message] ["TESTING"]

CheshireTiger
28 Mar 2018, 22:21Thanks guys. and sorry I accidentally posted this twice