Created
March 21, 2014 18:33
-
-
Save gdoteof/9692784 to your computer and use it in GitHub Desktop.
wins at irc duck hunt in #burlington, but can't shoot after missing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use strict; | |
use warnings; | |
use Irssi; | |
our $VERSION = '1.00'; | |
our %IRSSI = ( | |
authors => 'gdoteof', | |
contact => 'dont', | |
name => 'huntwin', | |
description => '', | |
license => 'allyourbase', | |
); | |
Irssi::signal_add 'message public', 'sig_message_public'; | |
sub sig_message_public { | |
my ($server, $msg, $nick, $nick_addr, $target) = @_; | |
$server->command("msg $target .bang") if ($msg =~ m/\_o< quack!/i && $nick=~"Fat_Lenny"); | |
$server->command("msg $target .bang") if ($msg =~ m/you missed the duck/i && $nick=~"Fat_Lenny"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment