Looking for help with spam scripts!

Post gaming related scripts
Noxy

Looking for help with spam scripts!

26 Oct 2017, 12:28

Hello you smart coders! :D

So ive been trying over n over (with no experience at all, just trying random stuff n seeing if i get an error haha!) to make a script that would spam a key (space) if i press the key E, but i want it to continue to spam space even if i let go of E, and it would stop spamming space when i press a different key like Q. Can someone help me out here?? Im new to ahk and no knowledge in coding their! :(
User avatar
Reloaded
Posts: 283
Joined: 25 Aug 2017, 08:48

Re: Looking for help with spam scripts!

27 Oct 2017, 12:14

Noxy wrote:Hello you smart coders! :D

So ive been trying over n over (with no experience at all, just trying random stuff n seeing if i get an error haha!) to make a script that would spam a key (space) if i press the key E, but i want it to continue to spam space even if i let go of E, and it would stop spamming space when i press a different key like Q. Can someone help me out here?? Im new to ahk and no knowledge in coding their! :(
Hey! :)

Code: Select all

Setbatchlines -1
#Maxthreadsperhotkey 2

e::

Toggle := !Toggle
loop

{
if toggle
{

Send, {Space}
Sleep, 10

}
else
	break
}
return
Noxy

Re: Looking for help with spam scripts!

27 Oct 2017, 19:29

Yes it worked!!! :D Thank you so so much!!! :D Love you!! :D

Return to “Gaming Scripts (v1)”

Who is online

Users browsing this forum: No registered users and 19 guests