Back to "detect" tags

House Ban Bot by Jaseowns

Description: The script attempts to ban greys, reds and oranges, it will use detect hidden every 12 seconds. If you have a friendly grey, red or orange - they will be added to a safe list which the script will skip. The more people that get added to the safe list, the slower the script will go.

# 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 or orange - they will be added to a safe list # The script attempts to skip anyone on the safe list # The more people that get added to the safe list, the slower the script will go if not listexists safebanlist createlist safebanlist pushlist safebanlist 0 endif if not varexist banattempt setvar banattempt 0 endif if not varexist banattemptcheck setvar banattemptcheck 0 endif if not timerexists 'detect' createtimer 'detect' settimer 'detect' 12000 endif if timer 'detect' > 12000 if targetexists hotkey 'Cancel Current Target' wait 200 endif skill 'detectinghidden' wft 500 hotkey 'Target Self' settimer 'detect' 0 endif foreach skipsafe in safebanlist sysmsg "Next Grey Player Target" 795 hotkey 'Next Grey Player Target' if insysmsg 'New target' @setvar banattempt lasttarget @setvar banattemptcheck lasttarget if not inlist safebanlist banattempt say 'I ban thee' wft 500 lasttarget endif endif hotkey 'Next Grey Player Target' if insysmsg 'New target' @setvar banattemptcheck lasttarget if not inlist safebanlist banattempt if banattempt = banattemptcheck overhead "they are the same bro" pushlist safebanlist banattempt else say 'I ban thee' wft 500 lasttarget endif endif endif endfor foreach skipsafe in safebanlist sysmsg "Next murderer Player Target" 34 hotkey 'Next murderer Player Target' if insysmsg 'New target' @setvar banattempt lasttarget @setvar banattemptcheck lasttarget if not inlist safebanlist banattempt say 'I ban thee' wft 500 lasttarget endif endif hotkey 'Next murderer Player Target' if insysmsg 'New target' @setvar banattemptcheck lasttarget if not inlist safebanlist banattempt if banattempt = banattemptcheck overhead "they are the same bro" pushlist safebanlist banattempt else say 'I ban thee' wft 500 lasttarget endif endif endif endfor foreach skipsafe in safebanlist sysmsg "Next Enemy Player Target" 1257 hotkey 'Next Enemy Player Target' if insysmsg 'New target' @setvar banattempt lasttarget @setvar banattemptcheck lasttarget if not inlist safebanlist banattempt say 'I ban thee' wft 500 lasttarget endif endif hotkey 'Next Enemy Player Target' if insysmsg 'New target' @setvar banattemptcheck lasttarget if not inlist safebanlist banattempt if banattempt = banattemptcheck pushlist safebanlist banattempt else say 'I ban thee' wft 500 lasttarget endif endif endif endfor wait 1000 loop