Originally Posted by
RedFeather
;-----FOR THOSE WHO ONLY WANT ANTI-RECOIL------
#NoEnv
#InstallKeybdHook
#InstallMouseHook
#UseHook
#SingleInstance, Force
version = 1.0
traytip, MPGH %version%, Running in background!, 5, 1
Menu, tray, NoStandard
Menu, tray, Tip, MPGH %version%
Menu, tray, Add, Help, info
Info:
Msgbox, 0, MPGH %version%, /////F3 Toggles On|Off\\\\\/////End ExitsApp\\\\\ ----------Made by RedManMosh---------
F3::Toggle:=!Toggle
SetBatchLines, -1
End::
SoundBeep, 600
KeyWait, End, P
SoundBeep, 550
ExitApp
Return
~$*LButton::
Loop
{
If (Toggle)
{
While Toggle and GetKeyState("LButton","P")
{
Sleep 10
mouseXY(0, 6)
;Click
}
}Else{
break
}
}
mouseXY(x,y)
{
DllCall("mouse_event", "UInt", 0x01, "UInt", x, "UInt", y)
}
Return
;--//Change the (x,y) based on how much recoil compensation you need\\--