Nowek Posted May 28, 2010 Posted May 28, 2010 (edited) iat the start I wanted to tell that I am Polish and my English is poor. need a script to make a bot to click the right mouse button and the space very quickly, here is a model only by a space and click on to disable the touch of a button, I'm starting in this field and I do not know how to do it if the wrong section I apologize HotKeySet("!{SPACE}", "AutoSpace") HotKeySet("+{SPACE}", "UnAutoSpace") Global $pick = 0 TrayTip ( "Made By NFWU", "Auto-spacer" & @CRLF & "Alt+SPACE Activate" & @CRLF & "Shift+SPACE Deactivate", 60 , 1 ) While 1 Sleep(100) while $pick == 1 send("{SPACE}") wend WEnd func AutoSpace() $pick = 1 endfunc func UnAutoSpace() $pick = 0 endfunc Edited May 28, 2010 by Nowek
Unc3nZureD Posted May 28, 2010 Posted May 28, 2010 hmm, i don't really know what are u think but try this: #include <Misc.au3> Local $hDll = DllOpen("user32.dll"), $iPaused = False HotKeySet("!{ESC}", "_Terminate") HotKeySet("!{PAUSE}", "_Pause") While 1 Sleep(10) If $iPaused <> True And _IsPressed("20", $hDll) Then Send("{SPACE UP}") Send("{SPACE DOWN}") Sleep(10) EndIf WEnd Func _Pause() $iPaused = Not $iPaused EndFunc Func _Terminate() Exit 0 EndFunc ;==>Terminate if u hold down the spacebar it will press it quickly continously (sometimes used for bunnyhop) if u don't wanted this, then sorry XD
Nowek Posted May 28, 2010 Author Posted May 28, 2010 i need all time clicked space bar and mouse right button
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