Dexer auto pots and heals by sancholi
Related: Healing
// Rapid bandaging loop script
// created by: Yogurt
//Re-imaginged by Sancholi
// updated: 25/04/25
@setvar! drink_red 1
@setvar! drink_white 1
@setvar! drink_blue 1
@setvar! drink_black 1
@setvar! globalTimeout 650
if not dead
if findtype "clean bandage%s%" backpack
if bandaging = 0
if hp != maxhp
hotkey 'Bandage self'
wait globalTimeout
endif
endif
endif
if paralyzed
overhead 'Paralyzed!' 38
if findtype "pouch" backpack 38 any any
say '[pouch'
wait globalTimeout
endif
endif
if poisoned
if findtype "Orange Potion" self
wait globalTimeout
overhead 'Drinking cure!' 48
potion "cure"
wait globalTimeout
endif
endif
if hp < 40
if findtype 3852 self as PotsHeal
getlabel PotsHeal LabelPotsHeal
if 'next usable' in LabelPotsHeal
sysmsg 'Unable to use Heal Potion Yet!' 33
else
overhead 'Drinking heal!' 68
dclick PotsHeal
wait globalTimeout
endif
endif
endif
if drink_red = 1 and stam < 110
if findtype "Red Potion" backpack as pot
dclick pot
wait 200
endif
endif
if drink_white = 1 and str <= 100
if findtype "White Potion" backpack as pot
dclick pot
wait 200
endif
endif
if drink_blue = 1 and dex <= 100
if findtype "Blue Potion" backpack as pot
dclick pot
wait 200
endif
endif
if drink_black = 1 and not findbuff "magic resist"
if findtype "Black Potion" backpack as pot
dclick pot
wait 200
else
overhead "Out of Magic Resist" 34
endif
endif
else
pause 1000
endif
loop