X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=PA.pm;fp=PA.pm;h=afc5b05861801cfec845aeb7060d4027f26c2368;hb=a1d98bc55c2ea2df2f2be3ff78386542b096c4dc;hp=21183bcc16cfacf6043b022b041a18dfc99fcdab;hpb=b4627003a631182a19be7fc36840208c59a18b2f;p=NDIRC.git diff --git a/PA.pm b/PA.pm index 21183bc..afc5b05 100644 --- a/PA.pm +++ b/PA.pm @@ -38,7 +38,7 @@ sub checkPlanet { $x = $1; $y = $2; $z = $3; - }elsif ((officer() || ia()) && defined $msg){ + }elsif ((officer() || ia() || intel()) && defined $msg){ $nick = $msg; }else{ $ND::server->command("notice $ND::nick usage .p X:Y:Z".(officer() || ia() ? ' or .p nick' : '')); @@ -54,7 +54,7 @@ sub checkPlanet { $planet->{$_} = valuecolor(1,$planet->{$_}); } my $ally = ""; - if (officer() || ia() || dc()){ + if (officer() || ia() || dc() | intel()){ $ally = "Alliance=$planet->{alliance} ($planet->{relationship}), Nick=$planet->{nick} ($planet->{planet_status}), Channel: $planet->{channel}, Hostile Count: $planet->{hit_us},"; } $ND::server->command("notice $ND::nick $planet->{coords} $planet->{ruler} OF $planet->{planet},$ally Race=$planet->{race}, Score=$planet->{score} ($planet->{scorerank}), Size=$planet->{size} ($planet->{sizerank}), Value=$planet->{value} ($planet->{valuerank}), XP=$planet->{xp} ($planet->{xprank})");