Scr1pter wrote: ↑
06 Nov 2018, 07:09
MsgBox, % a, b, c, x
(But I never use that style)
Your expression is incorrect.
In this case, it's better to not use expression mode as you'd be left with:
msgbox % "a, b, c, x"
, msgbox % "a, " "b, " "c, " "x"
or something else similarly horrid. Please only respond if you feel you can provide an answer next time.
Scriefers wrote: ↑
06 Nov 2018, 02:39
It exits the code after the first run through of the while loop and I can't figure out why.
For staters, here's a few things to look at
Code: Select all
while (a < 153)
if (a=14) or (a=27) or (a=39) or (a=52) or (a=65) or (a=78) or (a=91) or (a=104) or (a=117) or (a=130) or (a=143)
c=c+13 ; CHANGE TO EXPRESSION: c += 13 ; or c := c+13
b=b+33 ; CHANGE TO EXPRESSION
Click %b%, %c%
x=1 ; BECAUSE OF THIS
while (x < 21) ; <<< X WILL ALWAYS BE LESS THAN 21!!!
Click 1584, 758
x=x+1 ; CHANGE TO EXPRESSION
Click 1436, 733
a=a+1 ; CHANGE TO EXPRESSION
Return ; add a return so your script is persistent
I suggest reading up on expressions