Guest MrYourMom Posted August 7, 2005 Posted August 7, 2005 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?
Thatsgreat2345 Posted August 7, 2005 Posted August 7, 2005 (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 August 7, 2005 by thatsgreat2345
Thatsgreat2345 Posted August 7, 2005 Posted August 7, 2005 i dont know if it would work it probally doesnt but if it doesnt just post and ill make something else :-/
Moderators SmOke_N Posted August 7, 2005 Moderators Posted August 7, 2005 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.
Thatsgreat2345 Posted August 7, 2005 Posted August 7, 2005 (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 August 7, 2005 by thatsgreat2345
Guest MrYourMom Posted August 7, 2005 Posted August 7, 2005 im still usin the original one u posted thatsgreat2345 and its workin fine.
Thatsgreat2345 Posted August 7, 2005 Posted August 7, 2005 (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 August 7, 2005 by thatsgreat2345
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now