Skip to content
Outlands Hub

Razor script

Drink all potions with one hotkey

by Jaseowns · 68 lines
Download

Compatibility unverified

This community Razor script has not been tested in game by the Hub. Read its setup and client requirements before use.

All pots one hotkey by Jaseowns UO Outlands - https://outlands.uorazorscripts.com/ Requirements: Choose which potions to drink. Additional Info You can change some of the values if you want.. heal will only trigger if > 30 hp difference…

Healing
Drink all potions with one hotkey.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/58dae152-d7b9-45b0-814d-0a2d1d368cd0 for latest2# Automation by Jaseowns3## Script: Drink all potions with one hotkey4## 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# Additional Info12#     You can change some of the values if you want.. 13#     heal will only trigger if > 30 hp difference for example.14@setvar! drink_red 115@setvar! drink_white 116@setvar! drink_blue 117@setvar! drink_black 118@setvar! drink_orange 119@setvar! drink_yellow 120 21 22if drink_red = 1 and stam < maxstam23     if findtype "Red Potion" backpack as pot24        dclick pot25        wait 20026    endif27endif28 29if drink_white = 1 and str <= 10030    if findtype "White Potion" backpack as pot31        dclick pot32        wait 20033    endif34endif35 36if drink_blue = 1 and dex <= 10037    if findtype "Blue Potion" backpack as pot38        dclick pot39        wait 20040    endif41endif42 43if drink_black = 1 and not findbuff "magic resist"44    if findtype "Black Potion" backpack as pot45        dclick pot46        wait 20047    else48        overhead "Out of Magic Resist" 3449    endif50endif51 52if drink_orange = 1 and poisoned 53    if findtype "Orange Potion" backpack as pot54        dclick pot55        wait 20056    else57        overhead "Out of cures" 3458    endif59endif60 61if drink_yellow = 1 and diffhits > 3062    if findtype "Yellow Potion" backpack as pot63        dclick pot64        wait 20065    else 66        overhead 'Out of heals!' 3467    endif68endif