Editing Filters

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{notice|Main client and Premium Widgets Only}}
+
{{notice|Main client users only, for now}}
  
'''Filters''' are a simple yet useful system to replace (main client only) or block 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.
  
 
==How to Use==
 
==How to Use==
Line 7: Line 7:
 
Just go to Prefs -> Filters and setup your own.
 
Just go to Prefs -> Filters and setup your own.
  
{| border="1"
+
* REGEXP - This is a javascript regular expression to match against
|-
+
* Replacement - The text you want to replace with
! Part !! What it does
+
* In - If checked, it'll be applied to any incoming IRC chat
|-
+
* Out - If checked, it'll be applied to any outgoing IRC chat
| REGEXP || This is a javascript regular expression to match against
 
|-
 
| Replacement || The text you want to replace with (not available in premium widgets)
 
|-
 
| Command || Commands to send when REGEXP matches. <span style="color:red">Not in all releases yet (only in cbe00*).</span>
 
|-
 
| In || If checked, it'll be applied to any incoming IRC chat
 
|-
 
| Out || If checked, it'll be applied to any outgoing IRC chat
 
|-
 
| Block || If checked, do not send or show text.
 
|}
 
  
 
Note that the filters are applied from first to last, only once.
 
Note that the filters are applied from first to last, only once.
Line 32: Line 20:
 
==Possible Usages==
 
==Possible Usages==
  
For the main client:
+
(Feel free to add any that you use that aren't on here.)
 +
 
 
* Replace irritating abbreviations:
 
* Replace irritating abbreviations:
 
** BRB -> Be right back  
 
** BRB -> Be right back  
Line 47: Line 36:
 
==Examples==
 
==Examples==
  
* <nowiki>^gn$</nowiki>
+
\bmibbiturl\b
**  Matches only if you send "gn".  Will not match " gn" or "gn " or "You have a gn".
 
**  [Start of line][g][n][End of line]
 
  
[[Category:Preferences]][[Category:Features]][[Category:Main client]][[Category:Premium]]
+
[[Category:Preferences]][[Category:Features]]

Hey there. Thanks for contributing to the documentation for Mibbit. We hope you'll stick around. Just to let you know, that, by adding your ideas, you are releasing them under the $2. If you don't want your edits to be edited and redistributed mercilessly, then don't submit it here. You need to also make sure that you wrote this yourself. Please don't submit copyrighted work here. It causes headaches for us at Mibbit HQ.

Cancel Editing help (opens in new window)

Template used on this page: