Sign in to follow this  
Followers 0
mmaannddoo

restarting script

3 posts in this topic

#1 ·  Posted (edited)

hello everyone , it's my first post because i use the program from 1 hour and want to learn more

so i need to do a simple bot like some click steps . i do it but i need it to replay after time like 5 min this is my code

MouseClick("left",750,715,1)
Sleep(2000)
MouseClick("left",525,550,1)
Sleep(2000)
MouseClick("left",525,590,1)
Sleep(2000)
MouseClick("left",499,570,1)
Sleep(2000)
MouseClick("left",700,375,1)
Sleep(2000)
MouseClick("left",550,400,1)
Sleep(2000)
MouseClick("left",700,400,1)
Sleep(2000)
MouseClick("left",350,400,1)
Sleep(2000)
MouseClick("left",750,710,1)
Sleep(2000)
MouseClick("left",700,325,1)
Sleep(2000)
Edited by mmaannddoo

Share this post


Link to post
Share on other sites



make sure you read the rules, using autoit for games is not allowed, anyway.

Look into Sleep() and "While Wend" macros.

Look at the help file too, get familiar with the names of macros to know what to do for future refrence.

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I think this is correct

While 1
#your script
Sleep(300000) ;this is 5 min
WEnd

Edited by kiepcamca

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0