Spamming - With Hold

_This Rapid fire script may be accurately referred to as a 'spamming' script because it simulates repeatedly hitting a single specific key. It is unique in how it knows what key to send, and can employ the same code with any number of keys simply by adding hotkeys to call the “spam” subroutine. The script will continue to send whichever hotkey is used to call the subroutine for as long as that key is held down.

_Some of you may be wondering why anyone would need a script to repeatedly send the same key, doesn't it do that when you hold down a key anyway? Yes, and no. When you hold down a key while typing in a text editor you will see the same character typed repeatedly, but the key is not actually being sent to the system repeatedly. Instead, the key is sent once but the keyboard driver sees that the key is not being released and creates the afore mentioned spamming effect. But in some applications, such as video games, the driver is not part of what is going on. It is in these situations that a spamming script can be of use.