/*
 * Plugin Created by ReadMe <glenjamin[at]gmail.com>
 * Can usually be found in irc://irc.moznet.org/chatzilla
 * ----------------------------------------------------------------------------
 * "THE BEER-WARE LICENSE" (Revision 42):
 * (Taken from http://people.freebsd.org/~phk/)
 * ReadMe <glenjamin[at]gmail.com> wrote this file. As long as you retain this
 * notice you can do whatever you want with this stuff. If we meet some day,
 * and you think this stuff is worth it, you can buy me a beer in return
 * ----------------------------------------------------------------------------
 */

WordSwap Chatzilla Plugin
Version: 0.6 (First Public Release)
Date: 11th Jan 2005

The plugin is used to store filter outgoing words via javascript
regular expressions, handy for correcting common typos or :


/swap <regex> <replacement>
Sets up a new wordswap. Javascript regex syntax, but without any spaces in the pattern. The replacement parameter may contain spaces.

/swap-edit <swapID> <part> <new-value>
Edits the specified part of the specified wordswap - valid arguments for <part> include 'match', 'regex' or 'regexp' for the expression, and 'rpl','replace' or 'replacement' for the replacement string.

/swap-list
Shows all wordswaps and their associated IDs.

/swap-show <swapID>
Shows the pattern and replacement for the wordswap with this ID.

/swap-find <regex>
Searches for and displays all wordswaps whose pattern matches the regex snippet.

/swap-clear
Deletes all stored wordswaps.

/swap-del <swapID>
Deletes the specified wordswap.

Enjoy