QuestionNeed a simple script!

Posts 12 of 2 · Page 1 of 1
Need a simple script!
Hi there. Looking for a simple AHK script that will help with reload cancelling. I want it to do the following: press a key shortly after I left click. For example I want to reload instantly after I shoot each time.

Basic example.

I: Mouse1
Script: (very short delay) press "r"

That's it. Any help is appreciated.
Quote Originally Posted by despvir View Post
Hi there. Looking for a simple AHK script that will help with reload cancelling. I want it to do the following: press a key shortly after I left click. For example I want to reload instantly after I shoot each time.

Basic example.

I: Mouse1
Script: (very short delay) press "r"

That's it. Any help is appreciated.
I wrote this up for ya:

Code:
#NoEnv
#SingleInstance force
SetBatchLines -1

suspend
~Lbutton::
	{
	sleep 50
	send r
	keywait, lbutton
	}
return

pause::suspend
return

^esc::exitapp
It starts in inactive mode. Press Pause to toggle on/off.
Press ctrl+esc to close script.
Change the sleep value to change the delay.
Posts 12 of 2 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?