Is it possible... (making or/and statements with 3+ variables)

CS is always looking to evaluate two conditions. So you need to use brackets to group up your conditions into pairs. Additional brackets for when you use an equals sign as part of your comparator.

All of these work. There’s other combinations, but this should cover all the main stuff.

*create Condition_1 true
*create Condition_2 true
*create Condition_3 true
*create Condition_11 10
*create Condition_22 10
*create Condition_33 10

*if (Condition_1 or Condition_2) or Condition_3
    Yes
    

*if (Condition_1 and Condition_2) and Condition_3
    Yes


*if ((Condition_1 = true) or (Condition_2 = true)) or (Condition_3 = true)
    Yes


*if ((Condition_11 = 10) or (Condition_22 = 10)) or (Condition_33 = 10)
    Yes
6 Likes