summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Moore <neil@s-z.org>2012-07-09 01:20:36 -0500
committerNeil Moore <neil@s-z.org>2012-07-09 01:20:36 -0500
commit02e11ad7483c5d43b1cc9c788e81a9cf69d4b2b5 (patch)
tree83d3337c4a72d76e1a62d80dc6fb554273f9699f
parentee64b338fbf25ac140934e300a395664c98b78ba (diff)
downloadcrawlbot-02e11ad7483c5d43b1cc9c788e81a9cf69d4b2b5.tar.gz
crawlbot-02e11ad7483c5d43b1cc9c788e81a9cf69d4b2b5.zip
More easter eggs.
-rw-r--r--lib/Crawl/Bot/Plugin/Logging.pm18
1 files changed, 17 insertions, 1 deletions
diff --git a/lib/Crawl/Bot/Plugin/Logging.pm b/lib/Crawl/Bot/Plugin/Logging.pm
index 0326337..cea86cd 100644
--- a/lib/Crawl/Bot/Plugin/Logging.pm
+++ b/lib/Crawl/Bot/Plugin/Logging.pm
@@ -73,12 +73,28 @@ sub said {
$self->log_message("<$args->{who}> $args->{body}");
} elsif ($args->{channel} ne "msg"
and $args->{who} =~ /^(?:Gretell|Henzell|\|amethyst)$/
- and $args->{body} =~ /(\S+) .*became the Champion of Cheibriados/)
+ and $args->{body} =~ /^(\S+) .*became the Champion of Cheibriados/)
{
$self->say(
channel => $args->{channel},
body => "Did I ever mention that $1 is one of my favourite people?"
);
+ } elsif ($args->{channel} ne "msg"
+ and $args->{who} =~ /^(?:Gretell|Henzell|\|amethyst)$/
+ and $args->{body} =~ /^(\S+) .*abandoned Cheibriados\./)
+ {
+ $self->say(
+ channel => $args->{channel},
+ body => "Fine, $1, I didn't like you either!"
+ );
+ } elsif ($args->{channel} ne "msg"
+ and $args->{who} =~ /^(?:Gretell|Henzell|\|amethyst)$/
+ and $args->{body} =~ /^(Chei\S+) .*became the Champion of [^C]/)
+ {
+ $self->say(
+ channel => $args->{channel},
+ body => "Did I ever mention that $1 is a heretic?"
+ );
}
return;