# Gate

Split a dialogue into two texts, one for true condition, and other for false

By default, when a dialogue condition fails, that dialogue line is ignored. A gate can select a different dialogue text if the condition fails.

  • A Gate is defined by a --- (Triple Dashes).
- Alice | ? {greet} == on
  Hey! --- Bye!

Also, with multiline dialogues:

- Bob | ? {counter} > 3
  These lines show if
  counter is greater than 3
  ---
  These lines show
  otherwise