Skip to main content

q!

The q! trigger tag declares a pattern by which the dialog can enter a state.

tip
This is a global tag: transitions by this tag can be made from anywhere in the script.

Value

A pattern is specified after the tag. Refer to the Patterns section to learn more about pattern syntax.

How to use

state: Start
q!: $regex</start>
q!: * {([the] script) (begin*/start*)} *
a: Let’s begin.

state: CatchAll
q!: *
a: I’m sorry, I didn’t catch that.