Skip to content

1. Advanced Options

Bibliofile edited this page Oct 15, 2017 · 5 revisions

Advanced Options

This page covers the advanced options on the general settings tab.

Parse Triggers as RegEx

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 match te0st or te7st but not teAst
  • noob|newb will match noob or newb, but not nooooob

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.

Disable Whitespace Trimming

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).

Split Messages

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.

Split 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.

Developer Mode (New in 7.0)

Automatically loads extensions when they are registered and reloads them (calling remove, but not uninstall) when they are re-registered.

Extension Repository URLs

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.