window_check_level_first

This page tries to answer questions like "How do i get certain events shown in another window?"
e.g. if you don't want to see joins/parts/quits of a certain channel in the channel window between the chatting, but in another window

Remember, if you just want to hide them, /ignore is much easier (see /help ignore)

WARNING: this changes the way irssi decides which message goes where, so if you do it wrong (e.g. just setting the option on without first doing the rest), everything can go to the wrong window)
You'll have to /set window_check_level_first ON but BEFORE you do that, you'll have set to the window levels correctly. With wclf (window_check_level_first) OFF (the default) messages with a target (channel or query) will always be printed in the window with that target. With it set ON, only messages which have a level that's set in that window will be printed there. For example, if you have a window with a channel in it, that doesn't have the level JOINS, with wclf OFF, joins in that channel will be printed there anyways, with it ON, they won't.

So here's how you set up your irssi:
The levels I want in my (normal) channel windows are: MSGS PUBLICS NOTICES CTCPS ACTIONS JOINS PARTS QUITS KICKS MODES TOPICS NICKS CLIENTCRAP
To make this the default level for new windows, do:
/set window_default_level MSGS PUBLICS NOTICES CTCPS ACTIONS JOINS PARTS QUITS KICKS MODES TOPICS NICKS CLIENTCRAP
To put this in the windows already open:
/foreach window /window level MSGS PUBLICS NOTICES CTCPS ACTIONS JOINS PARTS QUITS KICKS MODES TOPICS NICKS CLIENTCRAP
And now, you can do /set window_check_level_first ON

Now, if you for example want to have a window where all joins/parts/quits from window 2 go to, you'll do:
In window 2: /window level -JOINS -PARTS -QUITS
create the window /window new and give it the right level /window level -ALL JOINS PARTS QUITS
remove those levels from your status window /window level ALL -JOINS -PARTS -QUITS
That window will now show all joins/parts/quits in channels where the window of the channel can't show them (does't have those levels)

If you don't know which messages have which level, and /help levels isn't clear enough for you, you can temporarily load the script printlevels.pl, that will add the level to every line that's printed.