this is not that intuititive on how it works, so it's not your fault (it took me awhile to understand the 'ask' Script~Function~Verb too), but here's how it works:
// when you select 'yes' via the pop up menu, quest automatically (hidden from you), stores 'true' into the variable 'result' :
yes ---> result = true
// when you select 'no' via the pop up menu, quest automatically (hidden from you), stores 'false' into the variable 'result' :
no ---> result = false
(I'm trying not to do much in code for you, so hopefully this post will be of help to you)
// conceptually: if 'true', then do whatever script(s) 1:
add new script -> scripts -> 'if' Script -> if [EXPRESSION] result
// for the line above, just choose the [EXPRESSION] drop down choice, and literally just type in: result
-> then: -> add new script -> (whatever you want to do for when you answer~select 'yes')
// conceptually: else~otherwise, do whatever script(s) 2:
else -> add new script -> (whatever you want to do for when you answer~select 'no')
~or if you rather, you can do the opposite too:
// conceptually: if 'not true' (aka: if 'false' ), then do whatever script(s) 1:
add new script -> scripts -> 'if' Script -> if [EXPRESSION] not result
// for the line above, just choose the [EXPRESSION] drop down choice, and literally just type in: not result
-> then: -> add new script -> (whatever you want to do for when you answer~select 'no')
// conceptually: else~otherwise, do whatever script(s) 2:
else -> add new script -> (whatever you want to do for when you answer~select 'yes')
---------------------
hmm...
'expression' is hard to explain...
I guess, think of an 'expression' as an incomplete~improper sentence, whereas a 'statement', is a complete~proper sentence (or a paragraph block), in programming terms.
x = 5 + 10
// x = 15
the (assignment) statement is: x = 5 + 10, the sum (verb~action, in this case, a calculation) of '5+10' (15) is stored into the variable 'x' (noun)
whereas, the expression is just: 5 + 10, a verb~action, but no noun is associated with it. You're doing the calculation verb~action of 5+10, but what are you doing with it's sum~result~answer of 15 ???
---------
and we've also got the simple~quick Value, as well:
x = 100 // a statement using just a Value, and not an Expression
'100' is obviously not an Expression, it's just a Value, there's no verb~action associated with the '100' itself, but the statement has a verb~action: the assignment (=): '100' is stored into the variable 'x'
--------
if (test_score > 90)
this is an expression (specifically the 'test_score > 90), whereas the statement is the full block of code (and there's also the individual statements within the 'if' block statement too):
this entire 'if' (if~else if~else) block is a statement:
if (test_score > 90) // an expression
{
grade = "A" // a statement
}
else if (test_score > 80) // an expression
{
grade = "B" // a statement
}
else if (test_score > 70) // an expression
{
grade = "C" // a statement
}
else if (test_score > 60) // an expression
{
grade = "D" // a statement
}
else
{
grade = "F" // a statement
}