This script filters JOIN, PART, QUIT and NICK event messages to active users only.
When the script is running, a user's events will only be displayed when they have been active recently. If the user is not active in the channel, their events will be ignored.
This script limits noise from large channels, while preventing you from talking to a conversation partner who has left (which can happen if you just ignore all events).
By default, a user is considered active if they have said something in the last 20 minutes. If they leave the channel, change nick etc., they are kept active, so you will not miss re-joins or subsequent nick changes.
- Download
smartfilter.pl
to your.irssi/scripts
directory - To run once:
/run smartfilter
- To run automatically, create a symlink to
smartfilter.pl
in your.irssi/scripts/autorun
directory - Optionally change the recent activity time (in seconds):
/set smartfilter_delay 1200
- Old nicks are removed from memory periodically. You can change how often the garbage collection runs by doing (how many smartfilter-delays it waits):
/set smartfilter_garbage_multiplier 4