Thread: Bot Help!!
View Single Post
Old 10-04-2008, 02:28 PM   #1 (permalink)
heeheex2
Senior Member
 
Join Date: Sep 2008
Posts: 1,619
Reputation: 54
heeheex2 will become famous soon enough

cBay Rating:
Send a message via AIM to heeheex2
Default Bot Help!!

I know the code for making an autoclicker is this:

$F1:: ; Make the F1 key into a hotkey (the $ symbol facilitates the "P" mode of GetKeyState below).


Loop ; Since no number is specified with it, this is an infinite loop unless "break" or "return" is encountered inside.
{
if not GetKeyState("F1", "P",) ; If this statement is true, the user has physically released the F1 key.
break ; Break out of the loop.
; Otherwise (since the above didn't "break"), keep clicking the mouse.
Click ; Click the left mouse button at the cursor's current position.
}
return


But how do i make it so you have to press more than one button? For example: hold F1 and F2 or it doesn't work.
heeheex2 is offline   Reply With Quote
Sponsored Links