Sign in to follow this  
Followers 0
Guest MrYourMom

help with this

8 posts in this topic

a new patch came out in this game i play and my old anti idle script doesnt work any more for it i need ur guys help all i want a script to do is press spacebar every 1 min. can u guys help?

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "Terminate")

While 1
    send("{space}")
    sleep(60000)
    Wend

its simple i guess it will work i dont know

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

i dont know if it would work it probally doesnt but if it doesnt just post and ill make something else :-/

Share this post


Link to post
Share on other sites

If it's in a game or something, you'll need to go a bet further, but tg2345 has the right idea:

Opt("WinTitleMatchMode", 4)

$game = "Game Title You Play" 

While WinExists($game)

WinWait($game)
If Not WinActive($game) Then WinActivate($game); make sure your sending it to the game

Send("{SPACE}")

Sleep(60000)

Wend

Should probably use TimeDiff() instead of Sleep, You could look that up in the help file.


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

yeah i was gonna use the winactive but i forgot :-/ eh man i think i might read the whole freaking help file :0

Edited by thatsgreat2345

Share this post


Link to post
Share on other sites

im still usin the original one u posted thatsgreat2345 and its workin fine.

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

u should use rons his is better cuz it checks to see when your game starts up and stuff but thats cool mine is really simple but whatever by the way what game are u playing?

Edited by thatsgreat2345

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