I need a script please help

Ask gaming related questions (AHK v1.1 and older)
LegallyBlind
Posts: 1
Joined: 15 Oct 2017, 12:54

I need a script please help

15 Oct 2017, 13:09

I need a script that when I hold down my left mouse button it spams it every 300 milliseconds and is able to be suspended or toggled on/off. So that I can have the script open and using the left click normally but then when I need to, toggle the script but to where it is not automatically clicking the mouse for me but when I hold the left mouse button down it will spam every 300 milliseconds as if i am trigger clicking. If anyone knows how to do this can you please reply
User avatar
Reloaded
Posts: 283
Joined: 25 Aug 2017, 08:48

Re: I need a script please help

17 Oct 2017, 06:44

Here ! :)

Code: Select all

LButton::
    While GetKeyState("LButton", "P"){
 
Click, %YPos% %XPos%
Sleep, 300
}
return
 


	
F1::				;With "F1" you pause the Script.
   Suspend, Permit
   SusToggle := !SusToggle
   If (SusToggle)
   {   Suspend, On
   }
   Else
   {   Suspend Off
   }
   Return


Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: prototype_zero and 78 guests