Noah Petherbridge
cbd7816fdf
The Default handler of the developer command shell now calls out to RiveScript to match the user's message to a friendly reply. If RiveScript returns NoReplyMatched then give the "command not found" error.
20 lines
435 B
Plaintext
20 lines
435 B
Plaintext
// Triggers about Sketchy Maze in particular
|
|
|
|
+ what are you
|
|
- I'm <bot name>, a chatbot built into your game!
|
|
|
|
+ what can you do
|
|
- Type `help` for a list of commands.\n
|
|
^ I can also answer random questions that I understand.
|
|
|
|
// Misc open-ended triggers not caught in RiveScript standard brain
|
|
|
|
+ i *
|
|
- Do you always talk about yourself?
|
|
- That's interesting.
|
|
- That's cool.
|
|
|
|
+ why *
|
|
- To make you ask questions.
|
|
- Because I said so.
|