diff --git a/Sam.pl b/Sam.pl index a1c8612b86be69c3e42f94742371297c7f447a8a..3e258fd159043efa31067d8504337730b7968aab 100755 --- a/Sam.pl +++ b/Sam.pl @@ -21,7 +21,7 @@ my $nick = 'Sam'; my $port = 6667; my $ircname = 'nightiies'; my $username = 'nightiies'; -my @channels = qw(#nightiies #bigphatsubwoofer); +my @channels = qw(#nightiies #bigphatsubwoofer #metaliiste); my $admin = 'moise'; my $baseurl = 'http://nightiies.iiens.net/sam/'; my %lastID; @@ -135,7 +135,9 @@ sub on_query last; } } - } + } else { + $irc->yield(privmsg => $nick => "Je suis un bot, tu veux peut-être parler à Sam_ ?"); + } } # Quand on m'invite, je join