Recover Potion Bottles by thisideasucks

Created: 08/13/2025
Last Updated: about 8 hours ago
Description from the author:

Script that can help with recovering potion bottles. Might need some customization depending on your use case, but it tries to prevent your death when drinking poison potions by stocking and using cure/heals at lower health.

// What to consume to recover bottles from @setvar! redRefresh 1 @setvar! whiteStrength 1 @setvar! blueDexterity 1 @setvar! blackMagicResist 1 @setvar! orangeCure 0 @setvar! yellowHeal 0 @setvar! greenPoison 0 // Timeouts and wait times - May need to adjust for latency @setvar! globalTimeout 200 @setvar! shelfWait 250 @setvar! potionWait 200 if not dead if hp < 50 while poisoned if findtype "Orange Potion" self overhead 'Drinking cure!' 50 potion "cure" wait globalTimeout elseif findtype "storage shelf" ground -1 -1 2 as myShelf menu myShelf 1 wait shelfWait endif if not findtype "Orange Potion" self overhead "Can't cure poison!!" 34 overhead "Probly gonna die!!" 34 stop endif endwhile if findtype 3852 self elseif findtype "storage shelf" ground -1 -1 2 as myShelf menu myShelf 1 wait shelfWait endif if findtype 3852 self as healingPotion getlabel healingPotion healingPotionLabel if 'next usable' in healingPotionLabel sysmsg "Can't Use Healing Yet" 34 else overhead 'Drinking heal!' 50 dclick healingPotion wait globalTimeout endif else overhead "Can't find healing potions" 34 endif endif if yellowHeal = 1 if findtype 3852 self as healingPotion getlabel healingPotion healingPotionLabel if 'next usable' in healingPotionLabel sysmsg 'Unable to use Heal Potion Yet!' 34 else overhead 'Drinking heal!' 50 dclick healingPotion wait potionWait endif endif endif if redRefresh = 1 if findtype "Red Potion" backpack as redPotion dclick redPotion wait potionWait else overhead "No Refresh Pots" 34 endif endif if whiteStrength = 1 if findtype "White Potion" backpack as whitePotion dclick whitePotion wait potionWait else overhead "No Strength Pots" 34 endif endif if blueDexterity = 1 if findtype "Blue Potion" backpack as bluePotion dclick bluePotion wait potionWait else overhead "No Dex Pots" 34 endif endif if blackMagicResist = 1 if findtype "Black Potion" backpack as blackPotion dclick blackPotion wait potionWait else overhead "No Resist Pots" 34 endif endif if greenPoison = 1 if findtype "Green Potion" backpack as greenPotion dclick greenPotion wait potionWait else overhead "No Poison Pots" 34 endif endif endif loop

Quick Filters

Bard Quick SearchCrafter Quick SearchDexxer Quick SearchHarvester Quick SearchMage Quick SearchPVM Quick SearchPVP Quick SearchStealth Quick SearchTamer Quick Search