Search found 6 matches

by vitaminj
Fri Mar 05, 2004 1:54 am
Forum: Macro Help (MQ1)
Topic: need some help with /if n please
Replies: 13
Views: 2318

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
by vitaminj
Thu Mar 04, 2004 11:51 pm
Forum: Macro Help (MQ1)
Topic: need some help with /if n please
Replies: 13
Views: 2318

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...
by vitaminj
Thu Mar 04, 2004 11:09 pm
Forum: Macro Help (MQ1)
Topic: need some help with /if n please
Replies: 13
Views: 2318

last post

it looks like:
/if n @testa<3 /echo @testa is < 3
works. so i guess you can't use brackets with /if?
by vitaminj
Thu Mar 04, 2004 11:01 pm
Forum: Macro Help (MQ1)
Topic: need some help with /if n please
Replies: 13
Views: 2318

new stuff

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...
by vitaminj
Thu Mar 04, 2004 10:26 pm
Forum: Macro Help (MQ1)
Topic: need some help with /if n please
Replies: 13
Views: 2318

still wonderin

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...
by vitaminj
Thu Mar 04, 2004 9:51 pm
Forum: Macro Help (MQ1)
Topic: need some help with /if n please
Replies: 13
Views: 2318

need some help with /if n please

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...