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


Joined: 11 Feb 2002
Posts: 3

PostPosted: Mon Feb 11, 2002 6:59 pm   

using a list in a trigger
 
Is it possible to use a list of items/names that you can put into ONE trigger. This allows only one trigger to be active that will do the same thing for all the items that are detected?

Eg. There are 20 ppl on the MUD who want to kill you

You create a list of the 20 names
You have one trigger something along the lines of

#trigger @list enters
#color red
wimpy mode
victim %w (name of person that entered)
Reply with quote
TonDiening
GURU


Joined: 26 Jul 2001
Posts: 1958
Location: Canada

PostPosted: Mon Feb 11, 2002 7:04 pm   
 
Trigger:
({@list}) enters

Value:
#color red
wimpy mode
victim %1

That will allow you to attack and recognize
all the people in the list.

Careful if 2+ people on that list enters
the room.. you'll victim the first then
quickly the second

TonDiening
Uses 6.16
Reply with quote
Luminous
Newbie


Joined: 11 Feb 2002
Posts: 3

PostPosted: Tue Feb 12, 2002 12:33 pm   
 
quote:

Trigger:
({@list}) enters

Value:
#color red
wimpy mode
victim %1

That will allow you to attack and recognize
all the people in the list.

Careful if 2+ people on that list enters
the room.. you'll victim the first then
quickly the second

TonDiening
Uses 6.16

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