If expressions can be used to define conditional actions in expressions. The correct syntax is as follows:
<a value> else
Using this statement as the expression of a change variable action for a string value:
if 7 > 6 then "correct" else "incorrect"
will set the value of the variable to “correct”.