|
jesterinc Beginner
Joined: 18 Jul 2003 Posts: 13 Location: USA
|
Posted: Sun Aug 10, 2003 8:15 am
autoheal help |
currently I'm just using a drink health script that looks like this:
Variable: healbalance
Value: 1
Trigger: You may drink another health or mana elixer.
Command: healbalance=1
Trigger: H:(%n) M:(%n) (*)
Command:
#if (@healbalance=1) {#if (%1<2350) {
drink health
healbalance=0
} {}}
#if (@healbalance=1) {#if (%2<2800) {
drink mana
healbalance=0
} {}}
I can't seem to figure out how I would add the syntax ANGEL DRAIN and OUTB MOSS;EAT MOSS when my health falls below 1300. So That as long as my health stays above 1300 I'll only DRINK HEALTH but if it gets down to 1300 or lower I'll ANGEL DRAIN and OUTB MOSS;EAT MOSS.
Any Ideas? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Aug 10, 2003 2:58 pm |
Trigger: H:(%n) M:(%n) (*)
Command:
#IF (@healbalance=1) {#IF (%1 < 2350) {
drink health
healbalance = 0
} {#IF (%2 < 2800) {
drink mana
healbalance=0
}}
#IF (%1 < 1301) {
angel drain
outb moss
eat moss}} |
|
|
|
jesterinc Beginner
Joined: 18 Jul 2003 Posts: 13 Location: USA
|
Posted: Mon Aug 11, 2003 8:15 am |
Much thanks to you Lightbulb. It works great.
|
|
|
|
teknocide Beginner
Joined: 15 Jul 2003 Posts: 25 Location: Sweden
|
Posted: Mon Aug 11, 2003 2:12 pm |
just a small note;
if you're not using the third parameter, you might want to remove the ( ) around the asterisk |
|
|
|
|
|