Skip to content
Outlands Hub

Razor script

Overweight Scavenger

by oakman8490 · 36 lines
Download

This Section goes at the top, before the looping part of your background script ##

Overweight Scavenger.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/ae23b687-d121-4718-aefc-1c553b1cee9b for latest2# Automation by Jaseowns3## Script: Overweight Scavenger4## Created by: oakman8490#05#############################################6 7## This Section goes at the top, before the looping part of your background script ##8@setvar! goldAmountToDrop 20009 10 11## This Section goes in the looping part of your background script ##12 13 if weight > maxweight14    clearall15    hotkey "Scavenger Enable/Disable"16    if insysmsg "Scavenger Agent Disabled"17        // Scavenger Off18    elseif insysmsg "Scavenger Agent Enabled"19        wait 50020        hotkey "Scavenger Enable/Disable"21    endif22    while weight > maxweight23        if findtype "gold coin" backpack as item        24            lift item goldAmountToDrop25            droprelloc 0 026            wait 20027            if insysmsg "cannot drop anything"28                drop backpack -1 -1 -129            endif30            wait 65031            replay32        else33            overhead "We are overweight but cannot drop anything" 3434        endif        35    endwhile36endif