I have allways used this in mmos to get rid of the button mashing, it's a really simple script that allows you to hold any hotkey (1-9) and it will spam that key until you release it.
You toggle it on and off with numlock.
[Autohotkey] Simple hotkey spam - Pastebin.com
If you dont have autohotkey already, here is a link to the download:
Maybe someone will find this useful :)