Rok'war by Pcbl

Related: Snippet ban

Description: Wiz GH ban bot (public guild house with vendors)

while not dead if not timerexists "skill timer" createtimer "skill timer" endif if timer "skill timer" > 10100 hotkey 'Cancel Current Target' skill 'detectinghidden' waitfortarget 5000 target 'self' settimer "skill timer" 0 endif unsetvar 'lastserial' @hotkey 'Next Player Target' pause 350 @setvar! 'lastserial' lasttarget getlabel 'lastserial' 'seriallabel' if not insysmsg "No one matching that was found" # If the target is green, skip. if noto 'lastserial' = friend //overhead "Ignore Guildmate" 33 continue endif # If the target is in *** guild, skip. if "R0K" in 'seriallabel' //overhead "Ignore Red Guildmate" 33 continue endif if "Brock Warr" in 'seriallabel' overhead "Ignore R0K" continue endif # Attempt to ban the target. hotkey 'Cancel Current Target' say "i ban thee" pause 250 target 'lastserial' pause 500 endif endwhile