Difference between revisions of "Filters"
m |
(for registered main client users) |
||
Line 1: | Line 1: | ||
+ | (for registered main client users only at the moment) | ||
+ | |||
Filters are a simple yet useful system to replace text. They can be applied to incoming or outgoing IRC chat. | Filters are a simple yet useful system to replace text. They can be applied to incoming or outgoing IRC chat. | ||
Line 14: | Line 16: | ||
You could use this to: | You could use this to: | ||
− | * Replace irritating abbreviations | + | * Replace irritating abbreviations: |
** BRB -> Be right back | ** BRB -> Be right back | ||
** i18n -> internationalization | ** i18n -> internationalization | ||
− | * Filter out offensive words | + | * Filter out offensive words: |
** Damn -> by the beard of Zeus! | ** Damn -> by the beard of Zeus! | ||
− | * Store commonly used responses | + | * Store commonly used responses: |
** tellWidget -> "The widget is a fantastic thing that you can find more info about here....." | ** tellWidget -> "The widget is a fantastic thing that you can find more info about here....." |
Revision as of 09:31, 7 May 2009
(for registered main client users only at the moment)
Filters are a simple yet useful system to replace text. They can be applied to incoming or outgoing IRC chat.
Just go to Prefs -> Filters and setup your own.
- REGEXP - This is a javascript regular expression to match against
- Replacement - The text you want to replace with
- In - If checked, it'll be applied to any incoming IRC chat
- Out - If checked, it'll be applied to any outgoing IRC chat
Note that the filters are applied from first to last, only once.
For the regular expression syntax, see https://developer.mozilla.org/En/Core_JavaScript_1.5_Guide/Regular_Expressions
You could use this to:
- Replace irritating abbreviations:
- BRB -> Be right back
- i18n -> internationalization
- Filter out offensive words:
- Damn -> by the beard of Zeus!
- Store commonly used responses:
- tellWidget -> "The widget is a fantastic thing that you can find more info about here....."