#CLASS FamSpy
#ALIAS whof {#forall @FamTargetList {fam where %i}}
#VAR FamTargetList {}
#TRIGGER {You tell your familiar to 'who pk`} {#CLASS FamCheck 1;#RESET FamTargetList;#ECHO FamCheck On, FamTargetList Reset}
#CLASS {FamSpy|FamCheck}
#TRIGGER {Players found:} {#CLASS FamCheck 0}
#REGEX {\]\s?\(PK\)\s?(\[\w+\])?(\(WANTED\))?\s?(\w+)} {#ADDITEM FamTargetList %3}
#CLASS FamCheck 0
#CLASS 0
Install: Copy and paste the above into the command prompt of CMUD
Usage: Script is initiated when you tell your familiar 'who pk'
The script then captures the results in a string list.
Typing whof loops through the string list with fam where
I tested the trigger from logs, but don't have a conjurer to execute the script with. If someone could test it and tell me if it works or not, I would appreciate it.