I wanted to find a way to make it easier to see when people came online with Bitlbee and Irssi. I already use a split screen with hilightwin.pl so that privmsgs and highlighted messages appear in a window at the top, so I wanted to find a way of using that.
I’ve used a combination of trigger.pl, and the built in NOTIFY support. NOTIFY allows you to get a notification of poeple coming online – however it outputs this information to the status window, which I generally don’t pay much attention to. It allows you to specify specific networks to monitor for nicks coming online too, the usage is like this:
/NOTIFY [-away] <mask> [<ircnets>]
So to be notified about bob coming onto bitlbee, I do:
/NOTIFY bob bitlbee
To view your current list of notifications, just type ‘/notify’.
Assuming you have scriptassist installed (if you don’t, google it, and install it 🙂 ) – you can trigger.pl like this:
/scriptassist install trigger.pl
The trick is to add a trigger to hook into the notify_join event, and echo a line into your highlight window. To do this, just do:
/trigger add -notify_join -command 'echo -window hilight $N IS NOW ONLINE'
And that’s it! When people on your notify list come online a message is now displayed in your highlight window. Don’t forget to do a /save to write your config out.