Skip to content
Outlands Hub

Razor script

Two hander to one hander all in one potion script

by Jaseowns · 92 lines
Download

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…

Two hander to one hander all in one potion script.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/839b94de-fd2a-43b4-85d0-294cf3fc2ede for latest2# Automation by Jaseowns3## Script: Two hander to one hander all in one potion script4## Created by: Jaseowns#66945#############################################6 7# All pots one hotkey by Jaseowns8# UO Outlands - https://outlands.uorazorscripts.com/9# Requirements: 10#     Choose which potions to drink.11#     Set preferred_twohand_weapon_type_id using >info in game12#     Set preferred_onehand_weapon_type_id using >info in game13# Additional Info14#     You can change some of the values if you want.. 15#     heal will only trigger if > 30 hp difference for example.16@setvar! drink_red 117@setvar! drink_white 118@setvar! drink_blue 119@setvar! drink_black 120@setvar! drink_orange 121@setvar! drink_yellow 122 23 24// executioners axe25@setvar! preferred_twohand_weapon_type_id 390926// viking sword27@setvar! preferred_onehand_weapon_type_id 504928 29// Swap to one hand30if findtype preferred_twohand_weapon_type_id lefthand31    if findtype preferred_onehand_weapon_type_id backpack as swappy32        dclick swappy33    else34        overhead "This is slow, update preferred_onehand_weapon_type_id" 3435        undress LeftHand36    endif37endif38 39 40if drink_red = 1 and stam < maxstam41     if findtype "Red Potion" backpack as pot42        dclick pot43        wait 20044    endif45endif46 47if drink_white = 1 and str <= 10048    if findtype "White Potion" backpack as pot49        dclick pot50        wait 20051    endif52endif53 54if drink_blue = 1 and dex <= 10055    if findtype "Blue Potion" backpack as pot56        dclick pot57        wait 20058    endif59endif60 61if drink_black = 1 and not findbuff "magic resist"62    if findtype "Black Potion" backpack as pot63        dclick pot64        wait 20065    else66        overhead "Out of Magic Resist" 3467    endif68endif69 70if drink_orange = 1 and poisoned 71    if findtype "Orange Potion" backpack as pot72        dclick pot73        wait 20074    else75        overhead "Out of cures" 3476    endif77endif78 79if drink_yellow = 1 and diffhits > 3080    if findtype "Yellow Potion" backpack as pot81        dclick pot82        wait 20083    else 84        overhead 'Out of heals!' 3485    endif86endif87 88if not findtype preferred_twohand_weapon_type_id lefthand89    if findtype preferred_twohand_weapon_type_id backpack as swappy90        dclick swappy91    endif92endif