Skip to content
Outlands Hub

Razor script

House Ban Bot

by Jaseowns · 124 lines
Download

Ban Bot by Jaseowns UO Outlands Requirements: be inside a house you have control over bans Additional Info: The script attempts to ban greys, reds and oranges. It will also detect hidden every 12 seconds. If you have a friendly grey, red…

Housing
House Ban Bot.razor
1# This is an automated backup - check out https://outlands.uorazorscripts.com/script/32d5f6a8-75fd-4558-a4ec-715d91aca838 for latest2# Automation by Jaseowns3## Script: House Ban Bot4## Created by: Jaseowns#66945#############################################6 7# Ban Bot by Jaseowns8# UO Outlands9# Requirements:  10#   be inside a house you have control over bans11#12# Additional Info: 13#   The script attempts to ban greys, reds and oranges.14#   It will also detect hidden every 12 seconds.15#   If you have a friendly grey, red or orange - they will be added to a safe list16#   The script attempts to skip anyone on the safe list17#   The more people that get added to the safe list, the slower the script will go18 19if not listexists safebanlist20    createlist safebanlist21    pushlist safebanlist 022endif23if not varexist banattempt24    setvar banattempt 025endif26if not varexist banattemptcheck27    setvar banattemptcheck 028endif29if not timerexists 'detect'30    createtimer 'detect'31    settimer 'detect' 1200032endif33if timer 'detect' > 1200034    if targetexists 35        hotkey 'Cancel Current Target'36        wait 20037    endif38    skill 'detectinghidden'39    wft 50040    hotkey 'Target Self'41    settimer 'detect' 042endif43foreach skipsafe in safebanlist44    sysmsg "Next Grey Player Target" 79545    hotkey 'Next Grey Player Target'46    if insysmsg 'New target'47        @setvar banattempt lasttarget 48        @setvar banattemptcheck lasttarget49        if not inlist safebanlist banattempt50            say 'I ban thee'51            wft 50052            lasttarget 53        endif54    endif55    hotkey 'Next Grey Player Target'56    if insysmsg 'New target'57        @setvar banattemptcheck lasttarget58        if not inlist safebanlist banattempt59            if banattempt = banattemptcheck60                overhead "they are the same bro"61                pushlist safebanlist banattempt62            else63                say 'I ban thee'64                wft 50065                lasttarget             66            endif67        endif68    endif69endfor70foreach skipsafe in safebanlist71    sysmsg "Next murderer Player Target" 3472    hotkey 'Next murderer Player Target'73    if insysmsg 'New target'74        @setvar banattempt lasttarget 75        @setvar banattemptcheck lasttarget76        if not inlist safebanlist banattempt77            say 'I ban thee'78            wft 50079            lasttarget 80        endif81    endif82    hotkey 'Next murderer Player Target'83    if insysmsg 'New target'84        @setvar banattemptcheck lasttarget85        if not inlist safebanlist banattempt86            if banattempt = banattemptcheck87                overhead "they are the same bro"88                pushlist safebanlist banattempt89            else90                say 'I ban thee'91                wft 50092                lasttarget             93            endif94        endif95    endif96endfor97foreach skipsafe in safebanlist98    sysmsg "Next Enemy Player Target" 125799    hotkey 'Next Enemy Player Target'100    if insysmsg 'New target'101        @setvar banattempt lasttarget 102        @setvar banattemptcheck lasttarget103        if not inlist safebanlist banattempt104            say 'I ban thee'105            wft 500106            lasttarget 107        endif108    endif109    hotkey 'Next Enemy Player Target'110    if insysmsg 'New target'111        @setvar banattemptcheck lasttarget112        if not inlist safebanlist banattempt113            if banattempt = banattemptcheck114                pushlist safebanlist banattempt115            else116                say 'I ban thee'117                wft 500118                lasttarget             119            endif120        endif121    endif122endfor123wait 1000124loop