I think you already got it now, but here's some examples and info to look at too:
viewtopic.php?f=10&t=5757&p=39912#p39912https://en.wikipedia.org/wiki/Truth_table (Boolean-If-Conditional Logic)
https://en.wikipedia.org/wiki/De_Morgan%27s_laws (My brain is still totally unable to understand this logic, but oh well, it still somehow works, lol)
------------
in Quest:
you can have as many (you aren't limited to only 2 conditionals as shown below) and any combination of conditions as you want (or can understand accurately, lol), and you can determine the order of operations just like you do in mathematics, with using parenthesis
'and' Operator:true and true -> TRUE
false and true -> FALSE
true and false -> FALSE
false and false -> FALSE
quest example: if (student.score >= 90 and student.score <= 100) { msg (student.alias + " got an 'A' grade on the test") }
'or' Operator:true or true -> TRUE
false or true -> TRUE
true or false -> TRUE
false or false -> FALSE
quest example: if (student.score < 0 or student.score > 100) { msg ("Erroneous score, as no bonus points were given, test needs to be re-checked") }
'not' or '<>' (Negation) Operator:not true -> FALSE
not false -> TRUE
quest syntax examples:
if (not player.condition = "poisoned") { scripts }
~ is the same as ~
if (player.condition <> "poisoned") { scripts }
// if you're using the '<>' in code (non-GUI~Editor), then you'll need the 'CDATA' tags encasing your scripting
------------
ask if you need help with or explanation of anything