WeeChat tips

From FlashTux
Jump to: navigation, search

English | (+/-)


Smart filter alias

Some of us only want to smart filter some of our channels. For this to work you still need to enable smart filters.

/set irc.look.smart_filter "on"

This alias lets you type /sfilter to easily add the current buffer to be smart filtered:

/alias sfilter filter add irc_smart_$server_$channel irc.$server.$channel irc_smart_filter *

And this alias will remove a previously added smart filter (if the above command was used to add it):

/alias rmsfilter filter del irc_smart_$server_$channel


-- Wraithan


Rmodifier

Hide words from irc messages

/rmodifier add test irc_in_privmsg 1,3 ^(:\S+!\S+@\S+ PRIVMSG #channel :.*)(badword ?)(.*)

Display messages from a channel link bot like from a regular user

/rmodifier add relay irc_in_privmsg 1,5,3,4,6 ^(:)(thebotnick)(!\S+@\S+ )(PRIVMSG #channel :)<(\S+)> (.*)

(nick colors work in >=0.3.5)

-- ArZa

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox