Username:
Password:
Login Register Password Lost

Chat Bots Editor

Chat bots are nearly like NPC sitting in chat channels and possibly interact with users based on what a user types in. It is possible to have as many chat bots as you want and have a chat bot within a single channel or in all the channels. Each chat bot can have an infinite number of sentences triggered by some keywords.

To create a chat bot, press the "New Bot" button on the left side, this will create a new chat bot, give a name, assign it to all the channels and creates a couple of default sentences as examples.

Sentences allows to be run only when some conditions are met, and when the user writes a sentence which match the "trigger" words. The trigger words syntax is in 2 levels. The first level separated by a coma (,) is all possible options which can be matched. Any of the first level match will trigger the bot answer. The second level (enclosed by square brackets) define multiple keywords which must all be matched. The first character can be a / and will then intercept commands typed by the player.

In the example: [hello,@bot@],[hi,@bot@],[hey,@bot@]
You can type "Hi bot" or "Hello bot" and both will trigger the sentence. The @bot@ keyword will be replaced by the bot name.

After that one of the sentence is matched, the bot remembers that he was talking to you, and if a sentence match without the bot name and has the "Auto Follow Up" set the sentence will be triggered.
This allows a more fluid discussion with a bot like
  1. You: Hi Bryce
  2. Bryce: Hi user!
  3. You: How are you?
  4. Bryce: I'm fine thanks.

The answer can be either a static string with the @name@ keyword replaced with the username, or a scripting code which returns a dynamic value.

If a chat bot name starts with the ~ (tilde) character, the chat bot will not appear in the user list while being present in the chat. This can be useful for command bots which must react to commands anywhere and yet not appear as a user.

If a chat bot answer starts with a ! (exclamation point), the answer will be visible only by the current user.

Next: DB Storage Explorer.

© 2016 - 2017 - A. Bertrand - Terms & conditions