ohh, never thought to check if the game locs were x,y or y,x. good point.
your test code worked but i had trouble from some reason putting /if statements right after /if statements so just figued i'd stop screwing with the brackets
thanks, tried yours and still had some trouble with stacking /ifs so i just ended up using: Sub MoveTo(DestLocX DestLocY) /face fast loc @DestLocX,@DestLocY :ThereYet /if n $distance(@DestLocX,@DestLocY)>10 /goto :TooFar /press Num_Lock /varset Moving 0 /return :TooFar /if n @Moving==1 /goto :Alread...
i tried just: sub Main /declare testa global /varset testa 2 /if n @testa<3 { /echo @testa is < 3 } /endmacro and the mq window prints: Couldn't parse 'ta<3' (in red) [MQ2] 2 is < 3 (in yellow) then tried: sub Main /declare testa global /varset testa 4 /if n @testa<3 { /echo @testa is < 3 } /endmacr...
thanks for the reply, i noticed that whole x/y switch later and just hadnt gotten around to changing it. my real question is why i'm getting: [2004/03/04 19:50:59] Distance of 320 [2004/03/04 19:50:59] Too Close from: /mqlog Distance of $distance(@DestLocX,@DestLocY) :ThereYet /if n $distance(@DestL...
i'm having some really wierd stuff happen /if and i can't figure it out here's what i'm trying to run: #turbo 90 sub Main /spew On /declare PullAncX global /declare PullAncY global /declare KiteAX global /declare KiteAY global /declare KiteBX global /declare KiteBY global /declare KiteCX global /dec...