Skip to content

Instantly share code, notes, and snippets.

Avatar

Emanuele Santoro esantoro

View GitHub Profile
@esantoro
esantoro / thinklight.plb
Last active Aug 29, 2015
Xchat plugin to make thinklight blink
View thinklight.plb
use strict;
use warnings;
Xchat::register('ThinkLight', '0.1', 'Make thinklight blink when called on IRC');
Xchat::hook_server('PRIVMSG', \&match_nickname);
Xchat::print(" Registered Thinklight event handler ");
sub match_nickname {