Jump to content

Recommended Posts

Posted

Hi there,

I am trying to add a 1hr timer for this script to run max - Right now it runs forever, but i would like for it to only run for 1 hour then close. Any help would be much appreciated!!

------------------------------------------------------------------------------------------------

$answer = MsgBox(1, "Confirm", "This script will push Space for 1 hour")

If $answer = 2 Then

Exit

EndIf

While 1

ControlSend ("APPLICATION", "", "", "{SPACE}")

Sleep(Random(30000,180000))

WEnd

------------------------------------------------------------------------------------------------

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...