Skip to content
Outlands Hub

Razor script

Trolling and Trawling the Seas

by rustedrook · 175 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.

Run another script in a loop Trolling the Ocean /Fishing&Glassing Out of War/Harpoon&Nets in War/Auto Healer Requirements: Harpoon, Fishing Nets, Fishing Pole, Spyglass, Pots Additional Info: Call another script after this one finishes

GatheringHealingFishing
Trolling and Trawling the Seas.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/81665d64-25e2-46ff-933b-3c0d2da9b1c8 for latest2# Automation by Jaseowns3## Script: Trolling and Trawling the Seas4## Created by: rustedrook#05#############################################6 7# Run another script in a loop8# Trolling the Ocean /Fishing&Glassing Out of War/Harpoon&Nets in War/Auto Healer9# Requirements:  Harpoon, Fishing Nets, Fishing Pole, Spyglass, Pots10# Additional Info:  Call another script after this one finishes11 12//Set timers13if not timerexists "healpot"14    createtimer "healpot"15    settimer "healpot" 1100016endif17if not timerexists "bandage"18    createtimer "bandage"19    settimer "bandage" 1100020endif21if not timerexists "warning"22    createtimer "warning"23    settimer "warning" 3100024endif25if not timerexists "curepot"26    createtimer "curepot"27    settimer "curepot" 1100028endif29if not timerexists "nets"30    createtimer "nets"31    settimer "nets" 450032endif33if not timerexists "fishingpole"34    createtimer "fishingpole"35    settimer "fishingpole" 800036endif37if not timerexists "spyGlassTimer"38    createtimer "spyGlassTimer"39    settimer "spyGlassTimer" 660040endif41 42 43 44//Begin Script    45while not dead 46    47 48// Never steal a target cursor49if targetexists50    wait 100051    loop52endif53 54 55//Auto Healer/Cure...Bandaids, Pots56if poisoned and timer 'curepot' > 1100057    potion 'cure'58    wait 20059    settimer 'curepot' 060endif61if poisoned or hp < maxhits62   if targetexists63      continue64   endif   65   if timer 'bandage' > 1025066       hotkey 'Use Bandage (No Timer)'67       wft 20068       hotkey 'Target Self'69       wait 20070       if insysmsg 'You begin applying the bandages'71           settimer 'bandage' 072       endif73    endif74endif75if insysmsg 'You begin applying the bandages'76    settimer 'bandage' 077endif78if not findtype 'Yellow Potion' backpack and timer 'warning' > 3000079    overhead 'No heal pots!' 3480    wait 20081    settimer 'warning' 082endif83if hp < 39 and timer 'bandage' < 800084    if findtype "Yellow Potion" backpack85        if timer "healpot" > 1100086            overhead 'Drinking heal!'87            wait 20088            potion "heal"89            wait 20090            settimer "healpot" 091         endif92     endif93endif94 95 96//Trolling...Harpoon/Nets in Warmode97if warmode98    if findtype "Fishing Pole" hand or lhandempty99        if findtype 31169 backpack as jarpoon100            dclick jarpoon101            wait 100102        endif103    else104        if timer 'nets' > 4000105            if findtype "fishing net" backpack as net106                wait 100107                dclick net backpack108                waitfortarget 200109                target "self"110                settimer 'nets' 0111            endif112        endif113    endif114    115   116//Fishing/Glassing in Peace      117else118    if timer 'fishingpole' > 7500119        if findtype "harpoon" hand or lhandempty120           if findtype "Fishing Pole" backpack121               dress "Fishing Pole"122               wait 100123            endif124         else125            hotkey "Use item in hand"126            waitfortarget 1000127            target "self"128            settimer 'fishingpole' 0129        endif130    endif131wait 200132 133 134// Never steal a target cursor135if targetexists136    wait 1000137    loop138endif139if not findtype "spyglass" backpack140    overhead "No spyglass"141    stop142endif143if timer "spyGlassTimer" > 6500144    if targetexists145        wait 1000146        loop147    endif148    gumpclose 2890020940149    gumpclose 2890020940150    if targetexists151        wait 1000152        loop153    endif154    dclicktype "spyglass" backpack155    wft 1000156    if targetexists neutral157        target 'self'158    endif159    waitforgump 2890020940160    gumpresponse 11 2890020940161    waitforgump 2890020940162    gumpresponse 4 2890020940163    waitforgump 2890020940164    settimer 'spyGlassTimer' 0165    cooldown Spyglass166endif167 168 169endif170 171wait 200172 173loop174 175endwhile