+ my ($msg, $command) = @_;
+
+ my ($nick,$pnick);
+ if(defined $msg && $msg =~ /^(\w+)(?: ([^.\s]+))?$/){
+ $nick = $1;
+ $pnick = $2;
+ }else{
+ $ND::server->command("notice $ND::nick syntax: .$command nick [pnick] | nick must be alphanum characters, if no pnick is given then it will be set to nick");
+ return;
+ }