foreach (sort keys %channels) {
if ( /^\s*$/ or / / ) {
&status("chanstats: fe channels: chan == NULL.");
- &ircCheck();
+ #&ircCheck();
next;
}
next if (/^_default$/);
push(@array, $str);
}
&pSReply($reply.": ".join(', ', @array));
+ &ircCheck();
### total user count.
foreach $chan (keys %channels) {
$new{$_} = $userstats{$_}{'Count'};
}
- # todo: show top 3 with percentages?
+ # TODO: show top 3 with percentages?
my($count) = (sort { $new{$a} <=> $new{$b} } keys %new)[0];
if ($count) {
$reply .= ". \002$count\002 has said the most with a total of \002$new{$count}\002 messages";
push(@list, "$str ($_, $perc %)");
}
- # todo: move this into a scheduler like nickometer
+ # TODO: move this into a scheduler like nickometer
$msgType = "private";
&pSReply( &formListReply(0, "Country Stats ", @list) );
my ($force) = ($1) ? 1 : 0;
$force = 0 unless (&IsFlag("n"));
- # cannot trust Net::IRC's nick()
+ # cannot trust Net::IRC's nick() (TimRiker asks why?)
if ($param{'ircNick'} eq $ident) {
&msg($who, "I hope you're right. I'll try anyway.");
&DEBUG("ircNick => $param{'ircNick'}");
}
# idea from dondelecarlo :)
- # todo: use cache{nickserv}
+ # TODO: use cache{nickserv}
if ($param{'nickServ_pass'}) {
return if ($param{'ircNick'} eq $ident or $force == 0);