This is an update to my older AutoHotKey program I made. This includes an improvement to the code, some optimizations, and the ability to use it with any game you fancy, contrary to where I placed this topic. Also, you can pick full auto or burst fire! I had some requests for a burst fire script awhile back, so, I figured I'd build it into this.
Same as the old one, just put the letter of the key you have bound to fire into the text box marked "Game Fire Key:". If you use the mouse, well, put a key in the controls as well. The game will let you bind two different buttons to the same control. So just bind your mouse AND a key to "Fire". Easy.
You MUST leave the "F" key unbound. That's what you press to use this program. Once you've put your fire key into the text box, enter a server and hit "F". You should get burst fire or full auto, depending on what you've selected. If ANY of this is unclear, just ask a question in the thread, or PM me. Don't get pissed and flame me.
I'm not using events. I'm polling the keyboard at the hardware level. I wanted it to be a key instead of the mouse so that people could still have the normal function of the weapon.
That is a nice idea, But as you use Keystate changes or something like that, You could set the key as a variable and make a box, Witch auto-extracts the key ID and input is as the variable, So people can choose their key.