|
Airak Newbie
Joined: 10 Jan 2001 Posts: 5 Location: USA
|
Posted: Fri Jun 06, 2003 3:30 pm
Help with scripting |
So I want to get the #gauge command work properly but I'm not sure that I am doing it right. I want it to capture my hps, end, and exp to next level. Currently my prompt looks like this...
[2149|2149hp 7339|7339en] [1563xp]
the xp is out of a base 2000. The first part of the hp/end is current and the second part is total. Of course the total changes depending on the equippment I am wearing at the time. If anyone can help write a script that will capture all of this into a gauge format that would be great.
Thanks for the effort ahead of time...
|
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Jun 06, 2003 5:29 pm |
#TRIGGER {~[(%d)~|(%d)hp (%d)~|(%d)en~] ~[(%d)xp~]} {#VAR hp %1;#VAR maxhp %2;#VAR end %3;#VAR maxend %4;#VAR xp %5} "" {prompt}
#GAUGE hpgauge "Hp" @hp @maxhp (@maxhp/10)
#GAUGE endgauge "End" @end @maxend (@maxend/10)
#GAUGE xpgauge "Xp" @xp 2000 200
Change the colors of each gauge to the way you want them.
Kjata |
|
|
|
|
|