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


Joined: 03 Jun 2004
Posts: 3

PostPosted: Thu Jun 03, 2004 5:37 pm   

help for this trigger
 
I need a trigger who reads my Prompt And modify a few variables

I have created this script:

#CLASS {Scrip|Toolbar}
#VAR hp {%1}
#VAR Bp {%3}
#VAR Mv {}
#VAR maxhp {%2}
#VAR maxMv {}
#VAR maxBp {%4}
#BUTTON 1 {} {} {} {} {@hp} {} {HEART} {Size} {20} {120} {Pos} {2} {5} {80} {} {Gauge||12|@maxhp|@maxhp / 100|7} {} "" {Explore} {hp: @hp/maxhp} {Barra de vida}
#BUTTON 2 {} {} {} {} {@Bp} {} {DIAMOND} {Size} {20} {120} {Pos} {2} {30} {32832} {} {Gauge||12|@maxBp|@maxBp / 100|7} {} "" {Explore|Inset} {Bp: @Bp/maxBp} {Barra de Sangre}
#BUTTON 3 {} {} {} {} {@Mv} {} {CHAR} {Size} {20} {120} {Pos} {2} {55} {48} {} {Gauge||12|@maxMv|@maxMv / 100|7} {} "" {Explore|Inset} {Mv: @Mv/maxMv} {Barra movimiento}
#BUTTON 4 {} {} {} {} {} {} {} {Size} {85} {2} {Pos} {126} {0} {16} {} {Separ} {} "" {} {} {}
#CLASS 0


my prompt is this:

190/190hp 16/16bp 480/480mv 51,906Exp |naigth|Gold(169,392)|Deidad(594)|Alin(good) Afect()>


I have to move this numerical values to the variables With a trigger or something But not as help me please
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Thu Jun 03, 2004 5:56 pm   
 
Ok try this one
Code:

#Trigger {^(%d)/(%d)hp (%d)/(%d)bp (%d)/(%d)mv *>} {
 #VAR hp %1
 #VAR Bp %3
 #VAR maxhp %2
 #VAR maxBp %4
}
Reply with quote
darckmonk
Newbie


Joined: 03 Jun 2004
Posts: 3

PostPosted: Thu Jun 03, 2004 7:36 pm   
 
thanks :O)
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