My_Beep Irssi-script


This script makes it possible to run arbitrary commands instead of system beep in irssi, flood protection included

Download it

Make sure the settings in Irssi look something like this:
beep_msg_level = DCC HILIGHT
beep_cmd = ssh 10.0.0.10 beep -f 1000 & /* notice the '&', it will run the job in background */
beep_flood = 2000 /* beep_cmd will not be runned more than once every 2000 milliseconds */

Available levels for beep_msg_level are:
CRAP, MSGS, PUBLIC, NOTICES, SNOTES, CTCPS, ACTIONS, JOINS, PARTS
QUITS, KICKS, MODES, TOPICS, WALLOPS, INVITES, NICKS, DCC, DCCMSGS,
CLIENTNOTICE, CLIENTCRAP, CLIENTERROR
 
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 (not a good idea usually)