contact: "gein@knivby.nu"
description: "Dont like to take decisions? Have the 8-ball do it for you instead."
filename: "8-ball.pl"
- modified: "2008-05-22 00:59:07"
+ modified: "2014-10-17 12:37:00"
license: "GPL"
modules: "IO::File"
name: "8-ball"
- version: "0.20"
+ version: "0.21"
- authors: "Dani Soufi (compengi)"
contact: "IRC: Freenode network, #ubuntu-lb"
use Irssi qw(command_bind signal_add);
use IO::File;
-$VERSION = '0.20';
+$VERSION = '0.21';
%IRSSI = (
authors => 'Patrik Jansson',
contact => 'gein@knivby.nu',
my ($server, $msg, $nick, $address, $target) = @_;
question($server, $msg, $nick.": ", $target);
}
-sub question($server, $msg, $nick, $target) {
+sub question {
my ($server, $msg, $nick, $target) = @_;
$_ = $msg;
if (!/^8-ball/i) { return 0; }