Two hander to one hander all in one potion script by Jaseowns

# All pots one hotkey by Jaseowns # UO Outlands - https://outlands.uorazorscripts.com/ # Requirements: # Choose which potions to drink. # Set preferred_twohand_weapon_type_id using >info in game # Set preferred_onehand_weapon_type_id using >info in game # Additional Info # You can change some of the values if you want.. # heal will only trigger if > 30 hp difference for example. @setvar! drink_red 1 @setvar! drink_white 1 @setvar! drink_blue 1 @setvar! drink_black 1 @setvar! drink_orange 1 @setvar! drink_yellow 1 // executioners axe @setvar! preferred_twohand_weapon_type_id 3909 // viking sword @setvar! preferred_onehand_weapon_type_id 5049 // Swap to one hand if findtype preferred_twohand_weapon_type_id lefthand if findtype preferred_onehand_weapon_type_id backpack as swappy dclick swappy else overhead "This is slow, update preferred_onehand_weapon_type_id" 34 undress LeftHand endif endif if drink_red = 1 and stam < maxstam 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 if drink_orange = 1 and poisoned if findtype "Orange Potion" backpack as pot dclick pot wait 200 else overhead "Out of cures" 34 endif endif if drink_yellow = 1 and diffhits > 30 if findtype "Yellow Potion" backpack as pot dclick pot wait 200 else overhead 'Out of heals!' 34 endif endif if not findtype preferred_twohand_weapon_type_id lefthand if findtype preferred_twohand_weapon_type_id backpack as swappy dclick swappy endif endif