Back to "ban" tags

Simple and Improved Ban Bot by Jaseowns

# Simple and Improved Ban Bot by Jaseowns # UO Outlands # Requirements: # You need to setup a friends list called # "BanBot" # If you do not have that friends list setup # The script will error ############# # You can use >info on your sign to not have to select # it when you run the script (update line 25) # example: # @setvar! homeSign 0x433A9C17 ############# # If you have multiple homes, you can add position checks # and set the sign automagically based on the position # example on line 22 #### # Requested and loved by Stickmanx89 ######## sysmsg "Select your house sign (or >info and paste the serial on line 25)" 88 overhead "Select your house sign (or >info and paste the serial on line 25)" 88 if position 4082 731 @setvar! homeSign 0x433A9C17 else @setvar! homeSign endif while not dead clearsysmsg hotkey 'Next non-friendly player target' wait 200 if insysmsg "no one matching" // do nothing else while not gumpexists 2490201206 dclick homeSign waitforgump 2490201206 500 endwhile while not targetexists and gumpexists 2490201206 gumpresponse 14 2490201206 wft 500 endwhile target lasttarget wait 200 if insysmsg "You cannot eject a friend of the house!" hotkey "Add Target To: BanBot" wft 500 target lasttarget elseif insysmsg "This person is already banned" hotkey "Add Target To: BanBot" wft 500 target lasttarget endif endif wait 50 endwhile