|
thenewguy1 Newbie
Joined: 02 Mar 2008 Posts: 1
|
Posted: Sun Mar 02, 2008 9:55 am
Bash trigger help |
Can someone help me with a bash trigger? When I'm in a big group fighting a caster, its hard to see when it gets up from a bash because there is usually so much spam. I would like a trigger so that when I first bash something, say for example, a theiwar priest, I want Zmud to automatically input bash theiwar priest when the theiwar priest stands up.
So basically when I input bash <insert name of mob>, I want Zmud to remember that name and when that mob stands up, I want Zmud to input bash <insert name of mob> again.
Currently I have this:
bash %1
#trigger {%1 stands up.} {bash %1}
I'm not very good at this because this doesn't work. It seems like it should work...can anyone help? Thanks |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Mar 02, 2008 12:12 pm |
This should do it for you. What you needed was a variable. Make sure you get rid of any old triggers you have then paste this into the command line and hit enter.
Code: |
#CLASS AutoBash
#VAR target {} {}
#ALIAS bash {target="%-1";#SEND {bash %-1}}
#TRIGGER {{@target} stands up.$} {#SEND {bash @target}
#CLASS 0 |
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|