Timed mouse clicks

Hey, i have been trying to create a function that accepts mouse clicks within 10secs and if the clicks are less than 20, cout's "click faster loser or something". I'm so lost, can't seem to figure it out. Would really appreciate any help.

Topic archived. No new replies allowed.