Irssi – making it beep when your nick is mentioned

Irssi by default will highlight your nickname, but that actually requires you to be looking at the screen. I wanted to make irssi beep when someone mentioned my nick, so that I didn’t have to actively monitor the tab in konsole. Here’s how to do it.