Jump to content

Help putting time to a script


Recommended Posts

hello there guys im making a bot but i want it to send some text like SEND ("IM A LAZY GUY") THEN SEND ("{ENTER}") ..... but i need that to happend in a period of time like every 15 min it says that .... this my script its really basic but im going to put a pixel finder for the detection of te admins for logging of an then re enter a few minutes .... weelll thats what i got for now plz help me finish it

ps:if u know the game or something similar dont use it i got banned well one of my players i was triying it

ps2: sorry for my bad english

HotKeySet("^!x","QuitLoop")
$counter=0
Func QuitLoop()
    $counter=1
EndFunc

While $counter=0
Sleep (4000)
Send ("{ins}")
Sleep (8000)
Send ("{f1}")
Sleep (4000)
Send ("{f1}")
WEnd
Link to comment
Share on other sites

straight from help....

$begin = TimerInit()
sleep(3000)
$dif = TimerDiff($begin)
MsgBox(0,"Time Difference",$dif)

8)

but im not really understanding that cause ok i put the variable for the timerinit (thats means that the timer will start?) .... and the timar dif at the end of that i want it to write something and send it (preess enter) not to show me a msgbox mmmmm maybe y could put to scripts the bot one and the timer and execute it toguether and thats how ill get the words in a period of time

Link to comment
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
 Share

  • Recently Browsing   0 members

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