Skip to content
Outlands Hub

Razor script

Attack Nearby Monster or Harvest

by tang_67330 · 42 lines
Download

tool in backpack and weapon on hand

GatheringCombat
Attack Nearby Monster or Harvest.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/db4fdfa3-44ac-424c-8323-cdd086b4a036 for latest2# Automation by Jaseowns3## Script: Attack Nearby Monster or Harvest4## Created by: tang_67330#05#############################################6 7//tool in backpack and weapon on hand8if findtype "pickaxe" backpack9    10   //if red nearby    11   hotkey 'Target Random Murderer Player'       12   wait 500 13 14   if insysmsg "No one matching that was found on your screen" 15 16      hotkey "Target Closest Grey Monster"17      wait 20018      if insysmsg "no one matching"19 20         // do nothing21          stop22 23      else24 25          attack lasttarget 26 27      endif28 29      else30          31      attack lasttarget 32 33      endif34    35else 36    37  // tool on hand38  while not insysmsg "You do not see any harvestable resources nearby"   39      hotkey "Use Item In Hand"40  endwhile41 42endif