When i get within 3 clicks of the LOC i want to stop.
So here is my code:
/sendkey down up
/if n $distance(@MobData(@NextMobToKill,2),@MobData(@NextMobToKill,3))<3
{
/echo Distance is: n $distance(@MobData(@NextMobToKill,2),@MobData(@NextMobToKill,3))
/sendkey up up
/goto :AtPullLocation
}
Problem is that no matter where I stand, I don't move and imidiatly jumps into the bracketed part, and I get output:
Distance is: 45 (or whatever the distance may be dependign on where im standing)
Then it jumps to :AtPullLocation liek its supposed to when im within 3 clciks, but not when im 45 clicks out
Why is it jumping into the /if brackets when 45 is obviously !< 3
????
thanks
ryan

