1. Advanced Options
This page covers the advanced options on the general settings tab.
This lets you use regex in your triggers instead of a simple text/wildcard system. As the bot is built in JavaScript, the MDN RegExp documentation is worth reviewing.
A few examples:
-
te[0-9]st
will matchte0st
orte7st
but notteAst
-
noob|newb
will matchnoob
ornewb
, but notnooooob
Do not include the starting or ending / commonly used in RegEx. If you do it will be treated literally.
The bot will automatically add the "i" flag.
You can use this page or this page to test your RegEx.
By default, triggers are modified to remove likely typos. If you put hello(space)
as a trigger, you likely meant hello
. If you enable this, hello(space)
will be parsed as hello(space)
.
If enabled, messages which contain the split token will be split and sent as two or more separate messages. A backslash (\
) can be used to avoid splitting at the token.
If split messages is enabled, this string will be used to split messages into multiple messages.
Example: If set to the default (<split>
) then Hello<split>There
will be split into two messages, Hello
, and There
.
Warning: If you use this, it can cause unexpected results. Messages are split just before they are sent, and thus if someone has your split character in their name and you use {{Name}}, their name will be split.
Automatically loads extensions when they are registered and reloads them (calling remove, but not uninstall) when they are re-registered.
This setting lets you choose where to load extensions from, this can be helpful for development and if you want to check out a beta extension that hasn't been released yet.