okay, lets say i make a program that has 506 constants.. p1 - p506
now i want the repeat command to type a username and then a pass like so
begin
clickmouse(400,315,true); <= click okay if pass is wrong incase it's up
clickmouse(113,360,true); <= click play game
wait(1000);
sendtype('User');
clickmouse(461, 381,true); <= clicks pass textbox
wait(1000);
sendtype(p1);
wait(500);
writeln(p1); <=tells me what pass i'm on
clickmouse(400,315,true); <= clicks okay if pass is wrong
end.
how can i make it so i don't have to type this 506 times, replacing p1 with the given constant.
any help would be greatly appreciated =]
*before you judge me and my program, this is to get back an account i lost
not sure how much it matters, but i'm required to use scar 3.12