|
Luminous Newbie
Joined: 11 Feb 2002 Posts: 3
|
Posted: 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) |
|
|
|
TonDiening GURU
Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: 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 |
|
|
|
Luminous Newbie
Joined: 11 Feb 2002 Posts: 3
|
Posted: 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
|
|
|
|
|
|