Archery Target & Hide Macro

BoPeach

Novice
This macro I used to gain the Archery Skill with hiding skill.
It grabs the nearest grey enemy and if that enemy walks too far away or is dead you use your hiding skill.

Code:
getenemy 'gray' 'criminal' 'closest'

while @findobject 'enemy'

warmode 'on'

if @inrange 'enemy' 10 and not dead 'enemy'

@autotargetenemy

attack 'enemy'

endif

if @distance 'enemy' >= 11 or dead 'enemy'

@cancelautotarget

while not hidden

useskill 'hiding'

pause 600

endwhile

endif

endwhile

if not @inrange 'enemy' 10

while not hidden

useskill 'hiding'

pause 600

endwhile

endif

If you plan on using this macro on the bard's table be aware that other players may get upset with you killing their provo / peace gains. Be aware of PKs.
 
Last edited:

DrSaso

Master
You could change the enemy to monster type, I.e. rotting corpses only, so that it'll take an age to kill one with archery.... for a while at least on the board table :)
 
Top