Skip to content
Outlands Hub

Razor script

Throw nets at an SOS / MIB spot, spyglass, heal

by dabiri · 101 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.

This is solid but not perfect. I'm out of MIBs and not planning much fishing in the short term, so decided to share the current state. It will heal, cure, spyglass, and throw nets at a nearby SOS spot. The color of net can be specified on…

GatheringHealingFishing
Throw nets at an SOS MIB spot spyglass heal.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/90f8e704-e478-45b9-879e-a15c91d36f49 for latest2# Automation by Jaseowns3## Script: Throw nets at an SOS / MIB spot, spyglass, heal4## Created by: dabiri#05#############################################6 7// This is solid but not perfect. I'm out of MIBs and not planning much fishing in the short term, so decided to share the current state.8// It will heal, cure, spyglass, and throw nets at a nearby SOS spot. The color of net can be specified on line 60.9// I like to launch it with a CUO macro that also triggers mariners fortune greater ability before calling the script10 11// This script expects you to have cooldowns named EXACTLY:12# Holy Light13# Fishing Net14# Spyglass15 16// Eat food if we need it17if not findbuff "food" and findtype "tray" backpack as jood18    dclick jood19    wait 20020endif21 22//Heals & Cures23//Bandage Self24if not bandaging and hp < maxhp25    hotkey "Bandage Self"26    wait 10027endif28 29//Potion heal30if diffhits >= 30 31    if findtype "Yellow Potion" backpack as pot 32        getlabel pot desc33        if "next usable" in desc34            // do nothing35        else36            dclick pot37            overhead 'Heal Potion' 4838            wait 50039 40        endif41    endif42endif43 44//Chivalry heal45if diffhits >= 50 and skill "Chivalry" > 95 and not cooldown 'Holy Light'46    say '[Holylight'47    wait 25048    if insysmsg "Holy symbols remaining:"49        cooldown 'Holy Light' 3100050    endif51endif52 53if poisoned54    // Potion cure55    if diffhits >= hpCheckToTriggerCurePotion and findtype "Orange Potion" backpack as pot 56        dclick pot57        overhead 'Cure Potion' 4858        wait 50059    endif60endif61 62//Fishing Net Routine63if not cooldown 'Fishing Net'64    overhead "Throwing Net" 1565    // 2219 is valehide hue, switch for different color66    if findtype 3530 backpack 2219 as found67        dclick found68        while not targetexists  69            wait 2070        endwhile71        if targetexists 'Neutral'72            target self73        cooldown 'Fishing Net' 350074        endif75    endif76endif77 78//Spyglass Routine79if not findtype 5365 backpack80    overhead "No spyglass"81    stop82endif83if not cooldown 'Spyglass'84    if targetexists85        overhead 'Holding spyglass' 1586        wait 50087        loop88    endif89    gumpclose 289002094090    dclicktype 536591    wft 100092    if targetexists neutral93        overhead 'Glassing'94        target 'self'95        waitforgump 289002094096        gumpresponse 4 289002094097        waitforgump 289002094098        cooldown 'Spyglass' 630099    endif100endif101replay