Reputation: 21
I have a few simple autofire scripts that I use in my game which I want to merge into a single script.
I tried a few things but couldn't make it work... The scripts are:
~$*[::
Loop
{
GetKeyState, var, [, P
If var = U
Break
Send {q}
sleep 200
}
The other 3 are the same i just change the Send {key}
. So in other words, when I hold down the [
key , I want q
,w
,e
, and Lmouseclick
to be clicked.
Upvotes: 2
Views: 310
Reputation: 2412
If I'm understanding this one correctly, you could simply do the following:
[::
{
Send, q
}
return
]::
{
Send, qwe
MouseClick, left
}
return
Upvotes: 1