Skip to content

Instantly share code, notes, and snippets.

View baldur's full-sized avatar

Baldur Gudbjornsson baldur

View GitHub Profile
@baldur
baldur / notifier.pl
Created August 30, 2012 21:40 — forked from bryanwoods/notifier.pl
Perl script to send mentions of my name in IRC to Notification Center or whatever it's called
use strict;
use warnings;
use Irssi;
Irssi::signal_add 'message public', 'sig_message_public';
sub sig_message_public {
my ($server, $msg, $nick, $nick_addr, $target) = @_;
if ($msg =~ /ryan/) {