hey All!,
i am new to scripting with scar divi .. or scripting in general
i used axife mouse recorder but cant find a registered copy or even a copy to buy so i can save my scripts
so i desided to go in the deep and use scar divi
i am making a script with very basic functions
its for dragon city (facebook) all i want it to do is click the habitasts and colect the gold (only needs to be clicked)
so i have used this:
MoveMouse(837, 194);
MouseBtnDown(837, 194, mbleft);
Wait(100);
MouseBtnUp(837, 194, mbleft);
Wait(1000);
of course using the x,y of each habitat
i have also made a fail safe function... the idea is that it enters the url of the game and restarts it in case a pop up ruins the sequence
MoveMouse(190, 43);
MouseBtnDown(190, 43, mbleft);
Wait(100);
MouseBtnUp(190, 43, mbleft);
TypeText('http://apps.facebook.com/dragoncity/');
MoveMouse(190, 70);
Wait(500);
MouseBtnDown(190, 70, mbleft);
Wait(100);
NOTE: could not find how to use the enter key so i click on the auto fill url
so now i need it to loop though the habbits 15 times before it restarts from the beginning
and play till i manualy stop it!!!
so what is the most basic way to repeat a script after looping a part of it?
- - - Updated - - -
if not for 15 times... minutes will do!