Jump to content
Sign in to follow this  
Guest MrYourMom

help with this

Recommended Posts

Guest MrYourMom

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
Thatsgreat2345

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
Thatsgreat2345

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
SmOke_N

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
Thatsgreat2345

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
Guest MrYourMom

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

Share this post


Link to post
Share on other sites
Thatsgreat2345

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.