From ddba2facafd2a229d34f8502b08b283d2e41bb5f Mon Sep 17 00:00:00 2001 From: Neil Moore Date: Sun, 8 Jul 2012 23:08:34 -0500 Subject: An easter egg for Chei players in ##crawl. --- lib/Crawl/Bot/Plugin/Logging.pm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/Crawl/Bot/Plugin/Logging.pm b/lib/Crawl/Bot/Plugin/Logging.pm index 1d46d14..6bc6ecc 100644 --- a/lib/Crawl/Bot/Plugin/Logging.pm +++ b/lib/Crawl/Bot/Plugin/Logging.pm @@ -71,7 +71,16 @@ sub said { # Only log the first channel if ($args->{channel} eq $self->bot->{channels}[0]) { $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/) + { + $self->say( + channel => $args->{channel}, + body => "Did I ever mention that $1 is one of my favourite people?" + ); } + return; } -- cgit v1.2.3