Sign in to follow this  
Followers 0
letmein

*noob* Help With Looping A Simple Script?

3 posts in this topic

#1 ·  Posted (edited)

Right now I have a script that presses the up arrow, waits 2 seconds, then presses down arrow. How can i loop this?

Send("{UP}")
sleep(2000)
Send("{DOWN}")
sleep(2000)

Thanks in advance for any help.

Edited by letmein

Share this post


Link to post
Share on other sites



Right now I have a script that presses the up arrow, waits 2 seconds, then presses down arrow. How can i loop this?

Send("{UP}")
sleep(2000)
Send("{DOWN}")
sleep(2000)
While 1
Send("{UP}")
sleep(2000)
Send("{DOWN}")
sleep(2000)
Wend

Share this post


Link to post
Share on other sites

While 1
Send("{UP}")
sleep(2000)
Send("{DOWN}")
sleep(2000)
Wend
thank you :think:

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