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


Joined: 02 Mar 2008
Posts: 1

PostPosted: 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
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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
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