Skip to content
Outlands Hub

Razor script

Loot an enemy hold

by dabiri · 65 lines
Download

Spyglass Routine

Combat
Loot an enemy hold.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/ae4477f2-3509-449d-b184-d0943afeb23f for latest2# Automation by Jaseowns3## Script: Loot an enemy hold4## Created by: dabiri#05#############################################6 7 8    //Spyglass Routine9    if not findtype 5365 backpack10        overhead "No spyglass"11        stop12    endif13 14    if not cooldown 'Spyglass' and not queued15        if targetexists16            overhead 'Skipping spyglass' 1517            cooldown 'Spyglass' 200018        else19            gumpclose 289002094020            dclicktype 536521            wft 50022            if targetexists neutral23                target 'self'24                waitforgump 289002094025                gumpresponse 4 289002094026                waitforgump 289002094027                cooldown 'Spyglass' 630028            endif29 30        endif31    endif32    33    wait 50034 35 36#Check for a ship hold37#restock 2 is from here https://outlands.uorazorscripts.com/script/7e2f2049-95b7-4f4c-abc0-36c50a90115538if findtype '16019' ground any any 2 true as found39    dclick found40    wait 25041    restock 242    wait 25043    target found44endif45if findtype '16046' ground any any 2 true as found46    dclick found47    wait 25048    restock 249    wait 25050    target found51endif52if findtype '15973' ground any any 2 true as found53    dclick found54    wait 25055    restock 256    wait 25057    target found58endif59if findtype '16057' ground any any 2 true as found60    dclick found61    wait 25062    restock 263    wait 25064    target found65endif