Is it possible to create faster "e spammer" than this?

Ask gaming related questions (AHK v1.1 and older)
zerox
Posts: 77
Joined: 15 Apr 2021, 13:01

Is it possible to create faster "e spammer" than this?

Post by zerox » 20 Jun 2021, 07:26

There is the code:

Code: Select all

 
#MaxThreadsPerHotkey 2

$F2::
	Toggle := !Toggle
	while Toggle
	{
		Send, {e Down}
    	Sleep, 50
    	Send, {e Up}
	}
return
I want it to assign it to "E" key, while i am holding "E".


User avatar
boiler
Posts: 16902
Joined: 21 Dec 2014, 02:44

Re: Is it possible to create faster "e spammer" than this?

Post by boiler » 20 Jun 2021, 07:33

To make it work with the hotkey toggle:

Code: Select all

#MaxThreadsPerHotkey 2
SetBatchLines -1

$F2::
	Toggle := !Toggle
	while Toggle
		SendInput, {e 99}
return

Post Reply

Return to “Gaming Help (v1)”