# Counter / timer

**URL:** <https://forum.kirupa.com/t/counter-timer/68750>\
**Category:** Uncategorized\
**Created:** [October 28, 2004, 3:31pm UTC](https://forum.kirupa.com/t/counter-timer/68750 "2004-10-28T15:31:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuga](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@shuga](https://forum.kirupa.com/u/shuga)\
**Post date:** [October 28, 2004, 3:31pm UTC](https://forum.kirupa.com/t/counter-timer/68750/1 "2004-10-28T15:31:22Z")

</div>

how can i get a script that will count 10 seconds or whatever number and then perform a function

if (counter==10seconds){  
do\_this();  
}
