- if (defined $msg && $msg =~ /^([pstunja]) (\d+)\D+(\d+)\D+(\d+) (\S.*)/){
+ if (defined $msg && $msg =~ /^([pdunja]) (\d+)\D+(\d+)\D+(\d+) (\S.*)/){
$typeid = $scanid{$1};
$type = $scantypes[$typeid-1];
($x,$y,$z) = ($2,$3,$4);
$msg = $5;
}else{
$ND::server->command("notice $ND::nick syntax: $command type X:Y:Z message"
$typeid = $scanid{$1};
$type = $scantypes[$typeid-1];
($x,$y,$z) = ($2,$3,$4);
$msg = $5;
}else{
$ND::server->command("notice $ND::nick syntax: $command type X:Y:Z message"
- . " | type is the first character in the scan name, like p for planet scan, message is a message to scanners, message is a message to scanners, like plz or thanks like plz or thanks");
+ . " | type is the first character in the scan name, like p for planet scan, message is a message to scanners, like plz or thanks like plz or thanks");