Irssi hilight

From CenterIM

Jump to: navigation, search

Here is a quick and dirty howto to get notified in centerim if you receive a highlight in irssi. It only works when centerim and irssi are on the same host and are executed by the same user.
So here we go:

  • get the my_beep.pl script for irssi
  • in irssi do:
/set beep_cmd foobar.sh &
  • in /usr/local/bin save an executable file named foobar.sh with that content:
#!/bin/bash
echo "hilight in irssi"|centerim -s msg -p icq -t 0 > /dev/null

-p can be any protocol you are using, -t 0 means to yourself
that's it, you're done. Have fun with hilighting :)

Personal tools