Hello you smart coders!
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!
Looking for help with spam scripts!
Re: Looking for help with spam scripts!
Hey! :)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! :(
Code: Select all
Setbatchlines -1
#Maxthreadsperhotkey 2
e::
Toggle := !Toggle
loop
{
if toggle
{
Send, {Space}
Sleep, 10
}
else
break
}
return
Re: Looking for help with spam scripts!
Yes it worked!!! Thank you so so much!!! Love you!!
Return to “Gaming Scripts (v1)”
Who is online
Users browsing this forum: No registered users and 9 guests