Most of Stuff i have found was AHKv1 or different Versions, so i wanna comply them togheter here!
i want to thank DuckingQuack for its 24/7 Job on me , and Mikeyww for hes outstanding performance in here, additional thanks to people like boiler and Datapoint wich i have met on my Road to AHK Heaven
some Stuff is edited or Adapted, Parts used or Copy and Paste, so if i forgot something ping me and ill change it
Note: Those Scripts are not my own Work i did get lots of Help too, and i am not Sure if those incredible Tutors wanna get Noted here, so i Post them in my Name to provide em Online if a Search might Lead people to here in the Future
with some Slightly knowledge the Buttons can be changed easily!!
Probably ur specific game might not liek the "FireRate" of the repeating Commando, so it might be necessary to "SLOW IT DOWN" by increasing the ms between the Commands example "SetKeyDelay 25, 25" it means the commando gets Send in 25ms speed and the Button/Key itself gets Pressed (hold) for 25ms
Most Tests i made been good with around 15 to 25 ms, so 25ms is the "safePoint"
WARNING!!! i read about FireRates under 25ms wich could occur game Laggs, Chrashes and more, due to the fact your computer cant load the animations as fast as you are triggering them (some games got weapons with no realitisc fire rate)
usually ur FireRate on the Weapon gets Capped, like example: Gun xy, FireRate 1RPS (Round Per Second / Bullet Per Second)
Start Process: Install AHKv2 , Load the Script or Copy it into a Notepad, safe it as blablabla.ahk, double click the script so it is running.
Additional Note: some version might not work or even occur errors when used in scripts with other parts , so sometimes u need to decide wich one matches and if it fits into your script. so usually as stand alone they are all working.
so here are the Versions:
Code: Select all
; This is the second autoclicker ever made; all royalties to mikeyww, please
#Requires AutoHotkey v2.0
auto := False
CapsLock:: {
Global auto := !auto
SoundBeep 1000 + 500 * auto
}
#HotIf auto
LButton:: {
SetKeyDelay 20, 20
While GetKeyState(ThisHotkey, "P")
SendEvent '{' ThisHotkey '}'
}
#HotIf
F10::ExitApp
LetftButton gets triggered in 20ms Speed while u keep your mouse button pressed down
if you want to close the script or got some errors u can F10 exit it
so:
Code: Select all
CapsLock::
Code: Select all
LButton::
Code: Select all
SetKeyDelay 20, 20
German Sound Version ofthe Same Script:
Code: Select all
#Requires AutoHotkey v2.0
#SingleInstance Force
rapid := False
CapsLock:: {
Global rapid := !rapid
ComObject('SAPI.SpVoice').Speak('SchnellFeuer ' (rapid ? 'Aktiviert' : 'Deaktiviert'))
}
#HotIf rapid
LButton:: {
SetKeyDelay 20, 20
While GetKeyState(ThisHotkey, "P")
SendEvent '{' ThisHotkey '}'
}
#HotIf
F10:: ExitApp
Version 2:
Code: Select all
#Requires AutoHotkey v2.0
#SingleInstance Force
InstallKeybdHook
InstallMouseHook
on := False
F6:: {
Global on := !on
SoundBeep 1000 + 500 * on
}
#HotIf on
~$LButton:: {
While GetKeyState("LButton", "P") {
Sleep(25)
Click
Sleep(25)
}
}
#HotIf
F10:: ExitApp
Version 3:
Code: Select all
#Requires AutoHotkey v2.0
#SingleInstance Force
InstallKeybdHook
InstallMouseHook
on := False
CapsLock:: {
Global on := !on
SoundBeep 1000 + 500 * on
}
#HotIf on
~$LButton:: {
While GetKeyState("LButton", "P") {
Click ("D")
Sleep(20)
Click ("U")
Sleep(20)
}
}
#HotIf
F10:: ExitApp
if anyone wants to comment or correct me you are free to do i am not a professional, and i might have errors in here aswell.
Greetings Tobgun1