# Counting # of clicks

**URL:** https://forum.kirupa.com/t/counting-of-clicks/77897
**Category:** Uncategorized
**Created:** [January 31, 2005, 4:21pm UTC](https://forum.kirupa.com/t/counting-of-clicks/77897 "2005-01-31T16:21:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ellare](https://avatars.discourse-cdn.com/v4/letter/e/919ad9/32.png) [@ellare](https://forum.kirupa.com/u/ellare)
#### Post date: [January 31, 2005, 4:21pm UTC](https://forum.kirupa.com/t/counting-of-clicks/77897/1 "2005-01-31T16:21:01Z")

</div>

how would i write a script that counts the number of clicks on a certain button?

this is what i want to do:  
“if you press this button 10 times, a message will appear”.

i plan to use a dynamic text box to load a certain message after someone clicks a button 10 times …
