If times clicked =1 then do something, If times clicked =2 then do something, If times clicked =3 then do something, If times clicked =4 then do something,
The only way I could think is to use the same concept as I have there, but you will need to start a timer after the first click. Let's say the timer is set to 1/4 of a second. If, within the time of that timer running out, the button is clicked again, you increase the variable and start the timer again....and so on.
If the timer runs out, then you run through the if then sequence.
This would take some serious scripting though...and...IMHO, it probably will still be seriously buggy.