 |
Jared242004 Beginner
Joined: 28 Jul 2004 Posts: 21 Location: Canada
|
Posted: Thu Aug 05, 2004 11:43 pm
Healing and quaffing stamina herbs from prompt |
I am looking to make a trigger for my prompt to heal when hp is low and to chew some stamina herbs when endurance is low, How can I do this and put a fail safe in it so that I only do it once if fighting and I get alot of prompts
Any Help would be greatly appreciated!
Jared
btw my prompt is:
169|178m/266e/133h>
and
178|178m/242e/143h>[Tank diag: healthy] [Opponent diag: gushing]
when fighting |
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri Aug 06, 2004 4:21 am |
#VAR healing 1 1;#VAR stamherb 1 1
#TR {(%d)e/(%d)h} {#IF ((%2 < 100) AND @healing) {#VAR healing 0;heal;#ALARM +3 {#VAR healing 1}};#IF ((%1 < 200) AND @stamherb) {#VAR stamherb 0;chew stamina herb;#ALA +3 {#VAR stamherb 1}}} {} {prompt}
Set the numbers in the #IF conditions to whatever level you want heals/herbs used. Set the alarm periods for whatever interval you want between heals/herbs. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
 |
|
|