end
, the conversation is closed.goto
behaves as return
in other languages: anything after a goto
is ignored, the goto
is immediately executed.goto flow otherflow
.Text
component with a debug
content_type).say
keyword, it can also be used inside native CSML functions:hold
the conversation in place until the user responds.hold
, except any user input that comes after that will not be saved in any CSML memory or displayable. However, you can perform operations on the value itself. This is a good use case for secret values that should not be saved in clear text anywhere in a database:"{{memory_item}}"
.x = y
), the value x
is saved as a local (temporary) variable.forget
keyword lets you forget memories selectively, or globally.const
or different values for the same const
!if
, else if
and else
. See examples.event.match(...)
alternative which is much more versatile.as
keyword.+
, -
, *
and /
, as well as the modulo operator %
. The regular order of operations applies.+=
and -=
operators to add/subtract and assign values at the same time:+
sign: