|
darckmonk Newbie
Joined: 03 Jun 2004 Posts: 3
|
Posted: 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 |
|
|
|
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: 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
}
|
|
|
|
|
darckmonk Newbie
Joined: 03 Jun 2004 Posts: 3
|
Posted: Thu Jun 03, 2004 7:36 pm |
thanks :O)
|
|
|
|
|
|