Can you please help me with this macro as I cannot find anything similar anywhere? How should this macro be written correctly?
Code:
getenemy 'friend' 'innocent' 'murderer' 'criminal' 'gray' 'humanoid' 'closest'
if @inrange 'enemy' 1 and @findlayer 'enemy' 21
useobject! 'found'
setalias 'enemy_bacpack' 'found'
endif
if @findtype 0x100f 'any' 'enemy_bacpack'
waitforproperties 'found' 10000
if @property 'Legendary' 'found' ////////// <---- not work !!!!!!!! :(
useskill 'Stealing'
waitfortarget 15000
target! 'found'
pause 1000
endif
endif