Is there any way to...

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
Jasaka
New User
Posts: 9
Joined: Sun Feb 05, 2006 3:49 am

Is there any way to...

Post by Jasaka »

Is there any way to list councealed gms near location?
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post by Yukiko »

Here is a script that will do the trick thanks to an added flag for POL 96:

[Edited 22-Jul-2006 - removed the redundant 'if' check for concealment---DUH!!!]

Code: Select all

use uo;


program list_concealed_gms (who)

var people;

people := ListMobilesNearLocationEx (who.x, who.y, who.z, 7,LISTEX_FLAG_CONCEALED, who.realm);

   foreach person in people
         SendSysMessage (who, "I found a concealed person!!!", color :=33);
   endforeach
endprogram

Post Reply