Gaming Sagely's Thief Helper by sunyata0508
Related: Stealingstealth bandage potion
Description from the author:
#Main Script
clearsysmsg
if not timerexists "healpot"
createtimer "healpot"
settimer "healpot" 11000
endif
if not timerexists "bandage"
createtimer "bandage"
settimer "bandage" 10000
endif
if not timerexists "warning"
createtimer "warning"
settimer "warning" 31000
endif
if not timerexists "curepot"
createtimer "curepot"
settimer "curepot" 11000
endif
if not timerexists "buffPot"
createtimer "buffPot"
settimer "buffPot" 6000
endif
@setvar! checkStr 1
@setvar! checkDex 1
@setvar! checkMagic 1
@setvar! needStrBuff 0
@setvar! needDexBuff 0
@setvar! needMagicBuff 0
while not dead
if hidden
continue
endif
if poisoned and timer 'curepot' > 11000
if findtype "Orange Potion" backpack as pot
overhead "Cure Potion"
dclick pot
wait 200
settimer 'curepot' 0
endif
endif
if poisoned or hp < maxhits
if targetexists
continue
endif
if timer 'bandage' > 10250
hotkey 'Use Bandage (No Timer)'
wft 200
hotkey 'Target Self'
endif
endif
if insysmsg 'You begin applying the bandages'
settimer 'bandage' 0
endif
if not findtype 'Yellow Potion' backpack and timer 'warning' > 30000
overhead 'No heal pots!' 34
wait 200
settimer 'warning' 0
endif
if hp < 60
if findtype "Yellow Potion" backpack as pot
if timer "healpot" > 11000
overhead 'Drinking heal!'
wait 200
dclick pot
wait 200
settimer "healpot" 0
endif
endif
endif
if stam < 50
if findtype "Red Potion" backpack as pot
overhead 'Stam Pot'
wait 200
dclick pot
wait 200
endif
endif
if timer "buffPot" > 6000
if checkStr = 1 and not findbuff "Strength"
@setvar! needStrBuff 1
endif
if checkDex = 1 and not findbuff "Agility"
@setvar! needDexBuff 1
endif
if checkMagic = 1 and not findbuff "Magic Resist Potion"
@setvar! needMagicBuff 1
endif
if needStrBuff = 1 and not findtype "White Potion" self
overhead "No white potions!" 34
@setvar! needStrBuff 0
endif
if needDexBuff = 1 and not findtype "Blue Potion" self
overhead "No blue potions!" 34
@setvar! needDexBuff 0
endif
if needMagicBuff = 1 and not findtype "Black Potion" self
@setvar! needMagicBuff 0
overhead "No black potions!" 34
endif
if needStrBuff = 1 or needDexBuff = 1 or needMagicBuff = 1
if needStrBuff = 1
if findtype "White Potion" self as jotion
overhead "White"
dclick jotion
wait 650
else
overhead "No STR potion found!" 34
endif
@setvar! needStrBuff 0
endif
if needDexBuff = 1
if findtype "Blue Potion" self as jotion
overhead "Blue"
dclick jotion
wait 650
else
overhead "No AGI potion found!" 34
endif
@setvar! needDexBuff 0
endif
if needMagicBuff = 1
if findtype "Black Potion" self as jotion
overhead "Black"
dclick jotion
wait 650
else
overhead "No MR potion found!" 34
endif
@setvar! needMagicBuff 0
endif
endif
settimer 'buffPot' 0
endif
wait 100
endwhileTurns off if you're hidden. Auto does bandages and pots. A little buggy.