|
layzee Beginner
Joined: 10 Feb 2003 Posts: 11 Location: United Kingdom
|
Posted: Fri Feb 28, 2003 12:56 am
Filtering |
Hi, i have a trigger if someone tells me bless, i cast bless on them. What if i wanted to filter out people that shouldnt have a bless? i.e. a list of players that are gagged from the spell... could that be done?
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Feb 28, 2003 1:11 am |
Yes, it can. Put all of the restricted player names into a stringlist and then use %ismember to decide if the person should get a bless or not. Example:
#IF (!%ismember(%1, @nobless)) {cast bless %1}
Kjata |
|
|
|
|
|
|
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
|
|