04-03-2012, 03:45 PM
Artur Wrote:I think it shpuld looks:
UO.Set('lasttarget','laststatus')
UO.WaitTargetObject('laststatus')
nope
![Tongue Tongue](https://in-uo.net/forums/images/smilies/tongue.png)
you bind the macro in uo options then u use it via uo.press in injection so your damn targetnext macros should look like :
sub z()
uo.press(BindedKeyCode)
wait(100)
UO.Set('lasttarget','laststatus')
endsub
That is ALL. no need to waittargetobject or anything. If you cast spells by last target after using that subroutine everything should be ok