Skip to content
Outlands Hub

Razor script

Easy Hatch Looting (T)

by Jaseowns · 69 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.

by Jaseowns UO Outlands

Combat
Easy Hatch Looting T.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/315e296f-b3ba-4fc4-ad20-51cf1a275330 for latest2# Automation by Jaseowns3## Script: Easy Hatch Looting (T) 4## Created by: Jaseowns#66945#############################################6 7# Easy Hatch Looting (T) by Jaseowns8# UO Outlands9 10// This will automatically place a bomb after looting hatch11@setvar! jaseowns_RecallCrewAutomaticallyAfterLooting 112@setvar! jaseowns_DropBomb 113@setvar! jaseowns_DropBombInWarModeOnly 114 15if not varexist jaseowns_OurHatch16    @setvar! jaseowns_OurHatch 017endif18if find jaseowns_OurHatch ground -1 -1 2 as jatch19    dclick jatch20    wait 20021    while findtype 3821|3891 backpack as item22        lift item 6000023        drop jatch -1 -1 124        wait 65025    endwhile26elseif findtype "hatch" ground -1 -1 2 as jatch27    dclick jatch28    settimer jaseowns_LootTimerHelper 029    while not targetexists 30        useskill "armslore"31        wft 50032    endwhile33    while targetexists 34    endwhile35 36    @setvar! useABomb 037    if jaseowns_DropBomb = 138        @setvar! useABomb 139        if jaseowns_DropBombInWarModeOnly = 1 and not warmode40            @setvar! useABomb 0        41        endif42    endif43    44    if useABomb  = 1 and findtype 5188 backpack 2825 as item45        while queued46        endwhile47        if timer jaseowns_LootTimerHelper >= 200048            dclick item49        else50            wait 200051            dclick item    52        endif53    endif54    55    if jaseowns_RecallCrewAutomaticallyAfterLooting = 156        say "[RecallBoarding"57        wait 20058        say "[Embarkfollowers"59        wait 20060        say "[Embark"61        wait 20062    endif63    64elseif find jaseowns_OurHatch ground -1 -1 20 as jatch65    overhead "Get closer (stand on it)" 34 jatch66    overhead "or turn your boat" 34 jatch67    wait 20068    replay69endif