… | |
… | |
39 | for ext::commands::who_listing (); |
39 | for ext::commands::who_listing (); |
40 | |
40 | |
41 | } elsif ($msg =~ /^\!tell/) { |
41 | } elsif ($msg =~ /^\!tell/) { |
42 | my (undef, $target, $tmsg) = split / /, $msg, 3; |
42 | my (undef, $target, $tmsg) = split / /, $msg, 3; |
43 | |
43 | |
44 | if (my $other = cf::player::find $target) { |
44 | if (my $other = cf::player::find_active $target) { |
45 | |
45 | |
46 | if ($tmsg) { |
46 | if ($tmsg) { |
47 | if ($me eq $target) { |
47 | if ($me eq $target) { |
48 | $CON->send_chan ($BOTCHAN, NOTICE => "$me: You are talking to yourself, you freak!", $BOTCHAN); |
48 | $CON->send_chan ($BOTCHAN, NOTICE => "$me: You are talking to yourself, you freak!", $BOTCHAN); |
49 | } elsif ($other->ob->{ext_ignore_tell}{$me} >= time) { |
49 | } elsif ($other->ob->{ext_ignore_tell}{$me} >= time) { |