Ignore channel join/part messages in irssi

Add the following block into ~/.irssi/config:

ignores = (
{
level = "JOINS PARTS QUITS";
channels = ( "#archlinux", "#vim", "#powershell" );
network  = "FreeNode";
},
{
level = "MODES";
channels = ( "&bitlbee" );
network  = "BitlBee";
}
);

This will automatically block the level message types from the channels specified. If you prefer manual way of ignoring messages try /help ignore. On a related note, activity_hide_level is a variable which can be used to disable the notification in act bar for specific message levels. Take a look at this nice irssi config file for examples of these.

Here is a list of various message levels for reference (you can find it in /help levels):

Message levels (or in short, levels) are used almost everywhere. They describe what kind of messages we're dealing with. Here's a list of them all:CRAP            - Can be almost anything
MSGS            - Private messages
PUBLIC          - Public messages in channel
NOTICES         - Notices
SNOTES          - Server notices
CTCPS           - CTCP messages
ACTIONS         - Actions (/me) - usually ORed with PUBLIC or MSGS
JOINS           - Someone joins a channel
PARTS           - Someone parts a channel
QUITS           - Someone quits IRC
KICKS           - Someone gets kicked from channel
MODES           - Channel mode is changed
TOPICS          - Channel topic is changed
WALLOPS         - Wallop is received
INVITES         - Invite is received
NICKS           - Someone changes nick
DCC             - DCC related messages
DCCMSGS         - DCC chat messages
CLIENTNOTICE    - Irssi's notices
CLIENTERROR     - Irssi's error messages
CLIENTCRAP      - Some other messages from Irssi

And a few special ones that could be included with the levels above:

HILIGHT         - Text is highlighted
NOHILIGHT       - Don't check highlighting for this message
NO_ACT          - Don't trigger channel activity when printing
this message
NEVER           - Never ignore or log this message

About these ads

5 thoughts on “Ignore channel join/part messages in irssi

  1. Pingback: Pjär's Think Tank » Ignore channel join/part messages in irssi « Inside Out

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s