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


Joined: 24 Oct 2006
Posts: 4
Location: texas

PostPosted: Tue Oct 24, 2006 6:01 am   

need some help!
 
hey i'm trying to make a trigger system for combat on a mud i play...we get a message like this after type astyle detect speed...


They appear about 60 percent as fast as you.
or They appear about 67 percent as strong as you.

i want to incorporate that into a button that uses the variables to set up an easier way to change styles to how strong my oponent is....i used to have this i've just forgotten how to set up variables in trigger patterns in Zmud...i really need this any help would be great....if you can help message me on aim vampiress kyoko! or here thank you so much!!!
Reply with quote
Kyoko
Newbie


Joined: 24 Oct 2006
Posts: 4
Location: texas

PostPosted: Tue Oct 24, 2006 8:25 am   
 
basically what i'm trying to do is capture the variable in a trigger and apply that variable to a button...
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Tue Oct 24, 2006 9:51 am   
 
#TRIGGER {They appear about (%d) percent as ({fast|strong}) as you.} {#VAR %2 %1}
_________________
Taz :)
Reply with quote
Kyoko
Newbie


Joined: 24 Oct 2006
Posts: 4
Location: texas

PostPosted: Wed Oct 25, 2006 3:41 am   didn't help me at all >_<
 
that didn't help me i can't figure out how to apply that to a button or get the script to capture it
Reply with quote
Taz
GURU


Joined: 28 Sep 2000
Posts: 1395
Location: United Kingdom

PostPosted: Thu Oct 26, 2006 2:11 pm   
 
The trigger captures two variables, one called fast and one called strong, within the variables the percentages are recorded. Just use @fast and @strong as the caption value on your button.
_________________
Taz :)
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