2

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.

3
  • Your question is unclear. Are you looking to have "[" send q, w, e, and LM in sequence? Have the option of what key to send? Or just have another key send q, a different one send w, etc.? Commented Nov 16, 2012 at 21:45
  • 2
    I figured it out myself ... i wanted ] to trigger all 4 buttons at once ... i just used the send command 4 times in same script and workd ... Commented Nov 17, 2012 at 19:47
  • 6
    Mark it answered, even if you answered it yourself. Commented Sep 28, 2013 at 21:14

1 Answer 1

1

If I'm understanding this one correctly, you could simply do the following:

[::
{
    Send, q
}
return

]::
{
    Send, qwe
    MouseClick, left
}
return
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.