Page 1 of 1

Autoclaim script for uosteam

Posted: Wed Mar 23, 2016 10:02 am
by Iltar
Here is a script for uosteam that will claim all nearest corpses if you run it in loop:

Code: Select all

if @findtype 0x2006 'any' 'ground' 1 2
  msg '[claim'
  waitfortarget 100
  @target 'found'
  pause 100
  @clearusequeue
  @cancelautotarget
  @canceltarget
endif
It works well though sometimes it doesn't automatically cancel target and you'll need to press Esc.

If you want to add autoclaimer to an autoattack macro then the script will be like this:

Code: Select all

@canceltarget
@Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
  autotargetobject! 'enemy'
  attack! 'enemy'
endif
@clearusequeue
@cancelautotarget
if @findtype 0x2006 'any' 'ground' 1 2
  msg '[claim'
  waitfortarget 100
  @target 'found'
  pause 100
  @canceltarget
endif
pause 500