Skip to content
Outlands Hub

Razor script

Rok'war

by Pcbl · 48 lines
Download
Rokwar.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/5edcadfd-d5d0-4fb4-9319-f5a841d34d05 for latest2# Automation by Jaseowns3## Script: Rok'war4## Created by: Pcbl#44275#############################################6 7while not dead8 9    if not timerexists "skill timer"10        createtimer "skill timer"11    endif12 13    if timer "skill timer" > 1010014        hotkey 'Cancel Current Target'15        skill 'detectinghidden'16        waitfortarget 500017        target 'self'18        settimer "skill timer" 019    endif20    unsetvar 'lastserial'21    @hotkey 'Next Player Target'22    pause 35023    @setvar! 'lastserial' lasttarget24    getlabel 'lastserial' 'seriallabel'25    if not insysmsg "No one matching that was found"26        # If the target is green, skip.27        if noto 'lastserial' = friend28            //overhead "Ignore Guildmate" 3329            continue30        endif31        32        # If the target is in *** guild, skip.33        if "R0K" in 'seriallabel'34            //overhead "Ignore Red Guildmate" 3335            continue36        endif37        if "Brock Warr" in 'seriallabel'38            overhead "Ignore R0K"39            continue40        endif   41        # Attempt to ban the target.42        hotkey 'Cancel Current Target'43        say "i ban thee"44        pause 25045        target 'lastserial'46        pause 50047    endif48endwhile