CMUD: Conjurer Familiar Where Script - Needs testing

June 08, 2009 02:55PM
#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.
Subject Author Posted

CMUD: Conjurer Familiar Where Script - Needs testing

Dave June 08, 2009 02:55PM

Having some troubles with it on Zmud

Habbs June 23, 2009 08:53AM

May hae found the problem

Habbs June 25, 2009 07:46AM

Keep in mind

Dwoggurd June 25, 2009 10:35AM

Edited to add multi state trigger

Dave June 08, 2009 05:02PM

I suggest a multi-state trigger

Dwoggurd June 08, 2009 03:01PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 93
Record Number of Users: 5 November 04, 2022
Record Number of Guests: 358 August 31, 2022