|
Novistador Newbie
Joined: 25 Jun 2009 Posts: 2
|
Posted: Thu Jun 25, 2009 7:42 pm
Simple trigger help |
Hello. I'm new to zmud and don't really know how to set up complicated triggers.
I would like to create a trigger that would let me cast resurrection on players who are dying. The problem is that i don't know how to get my trigger to read the name of the player in trouble and and reproduce it.
For example,
I receive:
Your deathdar tells you someone is in danger: Playername
I want my trigger to input:
cast 'resurrection' Playername
Thank you for your time |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Thu Jun 25, 2009 10:01 pm |
#TRIGGER {Your deathdar tells you someone is in danger: (%w)} {cast 'resurrection' %1}
If names can have non-alphabetic characters, check out the Pattern Matching helpfile for more wildcards you can use. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
Novistador Newbie
Joined: 25 Jun 2009 Posts: 2
|
Posted: Sat Jun 27, 2009 3:34 am |
Wow, Thanks a lot!!!
|
|
|
|
|
|