Mercurial > hg > skillbot
changeset 46:bfd2b428d131
Adding */all options to !eta
author | Dominic Cleal <dominic@computerkb.co.uk> |
---|---|
date | Fri, 19 Dec 2008 12:53:37 +0000 |
parents | 1d349044c860 |
children | 31a4d4cab76f |
files | skillbot.pl |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/skillbot.pl Fri Dec 19 12:46:10 2008 +0000 +++ b/skillbot.pl Fri Dec 19 12:53:37 2008 +0000 @@ -229,7 +229,8 @@ if ($msg =~ /^\!eta(\s+(.+))?/i) { my $found = 0; for my $f (@friends) { - if ((defined $2 && lc($f->{char}->name) eq lc($2)) + if ((defined $2 && (lc($f->{char}->name) eq lc($2) + || lc($2) eq 'all' || lc($2) eq '*')) || (!defined $2 && $f->{nick} eq $their_nick)) { my $text; if (defined $f->{skill}) {