Skip to content
Outlands Hub

Razor script

Attack Nearest with Halberd and Swap to Katana (V)

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

Attack Nearest with Halberd and Swap to Katana by Jaseowns UO Outlands

Combat
Attack Nearest with Halberd and Swap to Katana V.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/a8b90908-3b18-4847-ad90-f3ddc5593f52 for latest2# Automation by Jaseowns3## Script: Attack Nearest with Halberd and Swap to Katana (V)4## Created by: Jaseowns#66945#############################################6 7# Attack Nearest with Halberd and Swap to Katana by Jaseowns8# UO Outlands9 10if findtype "halberd" backpack 1790 as item11    dclick item12    wait 20013endif14 15hotkey "Target Closest Grey Monster"16wait 20017if insysmsg "no one matching"18    // do nothing19    stop20else21    attack lasttarget 22endif23 24while hidden25    // wait to strike26    wait 5027endwhile28 29if findtype "katana" backpack 1790 as item30    dclick item31elseif findtype "halberd" backpack 1790 as item32    dclick item33endif34 35@clearignore36if not hidden and findtype "Elven Spellblade" backpack and findtype "corpse" ground -1 -1 2 as jorpse37    while not targetexists 38        useskill 'forensicevaluation'39    endwhile40    if targetexists 41        hotkey "Target Self"42        @ignore jorpse43    endif44endif45@clearignore