Skip to content

Instantly share code, notes, and snippets.

@b4
Created June 21, 2009 15:55
Show Gist options
  • Save b4/133544 to your computer and use it in GitHub Desktop.
Save b4/133544 to your computer and use it in GitHub Desktop.
if ($message->{body} =~ /^\`join(.*)/) {
$self->join("$1");
}
if (($message->{body} =~ /^`quit/) and ($message->{raw_nick} eq "b4!sixty-two\@you.need.to.stfu-kthx.net")) {
$self->{other_bot}->quit("bai");
$self->{other_bot2}->quit("bai");
$self->{other_bot3}->quit("bai");
$self->quit("bai");
exit();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment