Autoclaim script for uosteam

Don't know how something works? Here you will find some useful links. And if you have a question, feel free to ask.
Locked
Iltar
Elder Scribe
Posts: 143
Joined: Fri Jul 10, 2015 12:42 pm

Autoclaim script for uosteam

Post 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
Those who never die, do not live. (in Ultima Online)
Locked