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
sadhana
Newbie


Joined: 29 Jul 2003
Posts: 1
Location: USA

PostPosted: Tue Jul 29, 2003 9:37 pm   

Triggering on a Variable
 
I apologize if this has been answered. Went searching but couldn't find anything..

Basically, I have a list variable that's dynamically being built via triggers. It contains a bunch of names of other players. I want to be able to color all the people in that list. I tried just setting the variable as the trigger pattern such as @members, but it doesn't fire. Is there a way to get it to work?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jul 29, 2003 10:03 pm   
 
For lists in a trigger pattern, you need to surround them with curly braces, otherwise the trigger expects to match the entire contents of the variable instead of just one element of the list:

#trigger {{@members}} {}
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