< home | SULWatcher

SULWatcher

SULWatcher notifies #cvn-unifications of account unifications.

Commands

You need to be voiced in IRC to be able to use these commands. Note that the commands start with the bot's nickname, whatever it is, plus a colon. Normally the bot runs using two nicks (SULWatcher and WatcherSUL) - issuing a command to either one has the same effect. SULWatcher: is used for these examples.

Command Description Example
SULWatcher: test Test if the bot is alive SULWatcher: test
SULWatcher: test [string] regex [regex] Test the regex against the string SULWatcher: test grawp regex \bpoop\b
SULWatcher: find regex [regex] Find information on a given regex SULWatcher: find regex \bpoop\b
SULWatcher: find match [string] Find the regex which matches the provided string SULWatcher: find match \bpoop\b
SULWatcher: find adder [cloak] Find the regexes attributed to a given cloak SULWatcher: find adder wikimedia/mikelifeguard
SULWatcher: find number [#] Find information on a given entry SULWatcher: find number 3
SULWatcher: add reason [#] [reason] Add a reason for a certain entry if it is attributed to you SULWatcher: add reason 1 suspicious - matches pattern vandalism
SULWatcher: add reason [#] ! [reason] Re-attribute the entry to you with a given reason SULWatcher: add reason 1 ! I want to take credit for someone else's work
SULWatcher: (add|remove|list) badword [regex] Add/remove/list regexes to match against unifications SULWatcher: add badword \bpoop\b
SULWatcher: list badword
SULWatcher: (add|remove|list) whitelist [username] Add/remove/list users who are whitelisted SULWatcher: add whitelist Mike.lifeguard
SULWatcher: list whitelist
SULWatcher: edit [#] enable  Re-enable an existing regex SULWatcher: edit 2 enable
SULWatcher: edit [#] (regex|reason) [whatever] Change the regex/reason for an entry, if it is attributed to you SULWatcher: edit 2 regex \bpoop\b
SULWatcher: edit [#] (regex|reason) ! [whatever] Change the regex/reason for an entry, re-attributing it to you SULWatcher: edit 2 reason ! Added word boundaries for fewer false positives
SULWatcher: edit [#] case (true|false) Make an entry either case sensitive or insensitive SULWatcher: edit 2 case true
For list commands, don't provide a (regex|cloak|nick|username).
The following commands are restricted to opped users.
Restricted command Description Example
SULWatcher: restart Restart the bots SULWatcher: restart
SULWatcher: restart rc Restart the RC reader SULWatcher: restart rc
SULWatcher: die Kill all the bots SULWatcher: die*
*Note that the bot uses cron and phoenix to stay up - if you kill it, it will come back in about 10 minutes. Use this for a hard restart in case the soft restart above fails.

Reports

Reports of SULWatcher's regexes and matches are available for privileged users.

Regex help

If you don't know regex, you can simply enter strings with nothing fancy, and that will work pretty well. Although the bot isn't a wiki, people can still edit - ask for help, or someone will come along behind you and make your rule better by using fancier regex. If you're inclined to learn, here are some starting points: