Setting up a mentions/hilight window for irssi.

If you run irssi in a screen you might miss mentions and it’s time consuming to scroll back through logs looking for them.

A better way is to create a mentions or hilight window dedicated to any messages that contain your nickname.

(instructions adopted from here).

Install cras’s

mkdir -p ~/.irssi/scripts/autorun
curl -L > ~/.irssi/scripts/autorun/

Setup the hilight window

/window new split
/window name hilight
/window size 6
/layout save

Load script

/script load autorun/ is a script for irssi which automatically sets /away when you detach from screen. It can also automatically change your nickname when you detach from screen so you can let others know when you’re away. It will also log mentions you’ve received while detached.


# download
curl ~/.irssi/scripts

# (optional) autoload it by symlinking to ~/.irssi/scripts/autorun
# you may need to make the autorun directory first
cd ~/.irssi/scripts/autorun && ln -sv ../ .

# restart irssi in a screen

To automatically change your nickname when detached, run the following command from irssi:

/set screen_away_nick YOUR_AWAY_NICKNAME