}
if ($id){
- $c->message("msg $ND::scanchan"
+ $c->message(privmsg => $ND::scanchan
,"<b>$id</b> http://game.planetarion.com/waves.pl?id=$typeid&x=$x&y=$y&z=$z"
. " ($x:$y:$z $type) | <".$c->nick."> $msg"
);
my ($self, $c, $msg) = @_;
my ($target,$mess) = $msg =~ /^(\S+) (.*)$/ or die 'ARGS';
- $c->message("msg $target", "<b>$mess</b> <c04>(reply with /msg "
+ $c->message(privmsg => $target, "<b>$mess</b> <c04>(reply with /msg "
.$c->channel.")</c>");
- $c->message("msg ".$c->channel, "<c03>$target << $mess</c>");
+ $c->message(privmsg => $c->channel, "<c03>$target << $mess</c>");
}
sub addscan