From 4c58506575366c95314eecb8943700278f30179a Mon Sep 17 00:00:00 2001 From: calzoneman Date: Tue, 16 Apr 2013 14:22:33 -0500 Subject: [PATCH] Update help page with channel options/chat filters --- www/help.html | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/www/help.html b/www/help.html index a4ff975e..00177850 100644 --- a/www/help.html +++ b/www/help.html @@ -210,6 +210,44 @@ When someone is leader, they also get partial moderator powers temporarily. Leaders can open polls, use /say, and manage the queue, but cannot kick/ban, change channel options, or change chat filters. This is useful if you want to leave someone in charge but not make them a full moderator. Leadership is revoked upon refresh, or you can revoke it manually.


+ +

Channel Options

+

+ Moderators have access to a menu (at the bottom of the page) for toggling various channel options. This is pretty self explanatory. The "Channel Options" tab contains various channel settings, the "Ban List" tab allows you to view and lift IP Bans, and the "MOTD" tab allows you to edit the message of the day. The "Chat Filters" tab is explained below. +

+
+ + +

Chat Filters

+

+ Moderators can apply various filters to chat messages using Regular Expressions. The first column contains a button to remove filters. The second is the regular expression to match in the message. The third is the replacement text, and the last is a checkbox for toggling the filter on/off. Regular Expressions are given in Javascript syntax, and by default have the "g" flag set. You can set custom flags by adding them at the end of the regex after a slash; for example js/ig matches "js", "JS", "jS", and "Js". The following example replaces money amounts of the form "$amount" to "amount dollars":


+ + + + + + + + + + + + + + + +
RegexReplacementActive
+ + + \$([0-9\.]+) + + $1 dollars + + +
+

Ranks