This is just a quick little script I wrote a while back to keep myself healed with bandages, taking into factor the effect Dexterity plays with the bandage timer. At the beginning of it you set what percentage of health you want to be at before applying the bandies.
You'll also notice "|| C in #charstatus" in there, which literally means "..or if I'm poisoned"; it will [bandself if either your health percentage gets below %HP or you become poisoned. You may remove the "|| C in #charstatus" or just add a semicolon before the "||" if you wish.
By the way, your status bar must be open (and stay open) for the script to read your HP.
Code: Select all
; BlaZin' HealR
; by BlaZe Buddle of Excelsior's ßud ßrothers
; v1.1 Completed 12/28/10
set %HP 75
; This is the % your HP will be at before the script does a [bandself.
set %pause 1
; Increase this number if the script doesn't pause
; long enough before applying more bandages. (20 = 1 second)
;;;;; ;;;;; ;;;;; ;;;;; ;;;;;
if ( #hits * 100 ) / #maxhits <= %HP || C in #charstatus
{
event macro 1 0 [bandself
set %time ( 11 - ( #dex / 20 ) ) * 20
if %time < 5
set %time 5
wait %time + %pause
}