Is there any code like switch(case_var)?

This is if you include the implicit control

*create implicit_control_flow true

*if (condition1)
   asdf
*elseif (condition2)
   fdsa
*else
   and so on

Without the implicit control, you have to write it just like on my first reply.


On another note, the conditions can be something such as

  • money > 1000
  • buddy = false
  • character = "dead"

This is the documentation for *create implicit_control_flow

1 Like