> spider and someone is killing it..the macro starts attacking the spider
> anyway..
Add the following code...
In GetTarget, when setting "HasTarget":
Code: Select all
/varset CurTarID $target(id)
Code: Select all
/if n $target(distance)<100 {
/press ESC
/target nopcnear @NoKSRange id @CurTarID
/if n $target(id)==0 {
/call ResetSub
/return
}
}
> 2) how the heck do you stop this macro when you target something
> across the zone and it starts running..the keyboard doesnt work..so I
> cant tyep /end..or even hit a /end hotkey.
Yeah, this is a problem. You can add delays in the code which wouldn't affect things much, except that the hunter wouldn't make a beeline to the target. What I tend to do right now is target my pet (wth my mouse) and get into attack range, at which point I have keyboard control again.




