Skip to content
Outlands Hub

Razor script

Drink Strength if Overweight (with two hand check)

by FewUnderstandThis · 34 lines
Download

If overweight or close to overweight, drink strength potion

Drink Strength if Overweight with two hand check.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/f0cdc17f-6b5c-485d-b3f6-942cb8c8eaef for latest2# Automation by Jaseowns3## Script: Drink Strength if Overweight (with two hand check)4## Created by: FewUnderstandThis#70895#############################################6 7# If overweight or close to overweight, drink strength potion8if diffweight > 109    overhead 'Not Overweight' 115010else11    12    if not findtype 'white potion' backpack13        overhead 'OUT OF STRENGTH POTS!!!' 3414        overhead 'OUT OF STRENGTH POTS!!!' 3415        overhead 'OUT OF STRENGTH POTS!!!' 3416    else17        18        # If hands are not free to drink potion19        if not lhandempty20            # Switch to one handed weapon (sub any wep for war mace)21            if findtype 'war mace' backpack as wep22                overhead 'to One-Hand...' 115023                dclick wep24            else25                overhead 'Unequip...' 115026                hotkey 'undress left hand'27            endif28        endif29        30        overhead 'Drinking Strength!' 115031        potion 'strength'32        wait 20033    endif34endif