Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Bob8869
Newbie


Joined: 07 Mar 2003
Posts: 3
Location: USA

PostPosted: Thu Oct 09, 2003 1:21 pm   

Trigger question
 
Hi,

I'm trying to make a trigger, so that when I see

Someone has arrived

If someone is not a specified player or players, I will look. I can't think of any way to do this. If someone knows, please help me out.

Thank you.
Reply with quote
Anabasis
Wanderer


Joined: 26 Jan 2001
Posts: 74

PostPosted: Thu Oct 09, 2003 2:44 pm   
 
#VAR names {Joe|Jim|Bob}
#TRIGGER {^(%w) has arrived} {#IF (%ismember(%1,@names)) {#NOOP} {#SE look}}

I'm sure you could simplify this with a negative check in the IF statement, but I haven't had any coffee yet.

Ana
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net