/* * Plugin Created by ReadMe * Can usually be found in irc://irc.moznet.org/chatzilla * ---------------------------------------------------------------------------- * "THE BEER-WARE LICENSE" (Revision 42): * (Taken from http://people.freebsd.org/~phk/) * ReadMe 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 Sets up a new wordswap. Javascript regex syntax, but without any spaces in the pattern. The replacement parameter may contain spaces. /swap-edit Edits the specified part of the specified wordswap - valid arguments for 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 Shows the pattern and replacement for the wordswap with this ID. /swap-find Searches for and displays all wordswaps whose pattern matches the regex snippet. /swap-clear Deletes all stored wordswaps. /swap-del Deletes the specified wordswap. Enjoy