fixing buttest
This commit is contained in:
parent
a6e430f7da
commit
b20673f43c
17
buttbot.conf
17
buttbot.conf
|
@ -1,16 +1,17 @@
|
|||
#server = irc.synirc.org
|
||||
server = irc.freenode.org
|
||||
server = irc.synirc.org
|
||||
#server = irc.freenode.org
|
||||
#server = irc.undernet.org
|
||||
meme = butt
|
||||
setmeme = yes
|
||||
changenick = yes
|
||||
port = 6667
|
||||
nick = buttbottest
|
||||
ident = null
|
||||
gecos = heh
|
||||
channel = #buttbottest
|
||||
debug = yes
|
||||
nick = buttbot
|
||||
ident = buttbot
|
||||
gecos = buttbot
|
||||
channel = #cobol
|
||||
debug = no
|
||||
invite = yes
|
||||
pass = SOMESECRET
|
||||
buttcommand = no
|
||||
pass = 6ZeEzVhue14Kw
|
||||
friends = floWenoL
|
||||
enemies =
|
||||
|
|
|
@ -4,7 +4,10 @@ use warnings;
|
|||
|
||||
use Butts qw(buttify);
|
||||
|
||||
my $butt = shift;
|
||||
$butt = $butt || "butt";
|
||||
|
||||
while(<>) {
|
||||
chomp;
|
||||
print join(" ",buttify(split(/\s+/,$_)))."\n";
|
||||
print join(" ", buttify($butt,split(/\s+/, $_)))."\n";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue