In "Chat Widget" for website I can write "Initial Bot Message" but it's not clear how to create in AIML file reaction for the visitor's response to this Initial Message. As an example I added in "Initial Bot Message" the question "Would you like to see live samples?" It's implied that there are two possible responses - "yes" or "no".
But the code:
<category>
<pattern>YES</pattern>
<that>WOULD YOU LIKE TO SEE LIVE SAMPLES</that>
<template>Answer YES</template>
</category>
<category>
<pattern>NO</pattern>
<that>WOULD YOU LIKE TO SEE LIVE SAMPLES</that>
<template>Answer NO</template>
</category>
doesn't work.
How to make the bot could react on the responses?
Is it possible to initiate "Initial Bot Message" from the code? For example I want to create a question with buttons - how to do it?