Have Squiffy advance after a link has been clicked X amount of times?

I need Squiffy to advance to the next Passage after a link has been clicked 800 times, (I know it sounds ridiculous, but... It's for the Stanley Parable port I'm making, so you should understand.) and after an amount of time has passed without the link being pressed, it continues to a different passage. I don't know where to begin on coding this...anyone have any Ideas?

Should be easy to do in Javascript. Have a look here: http://stackoverflow.com/questions/5862781/how-to-count-clicks-with-javascript

This topic is now closed. Topics are closed after 60 days of inactivity.