# Add numbers

**URL:** https://forum.kirupa.com/t/add-numbers/120642
**Category:** Uncategorized
**Created:** [August 26, 2004, 4:37am UTC](https://forum.kirupa.com/t/add-numbers/120642 "2004-08-26T04:37:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![patricktheking](https://avatars.discourse-cdn.com/v4/letter/p/a3d4f5/32.png) [@patricktheking](https://forum.kirupa.com/u/patricktheking)
#### Post date: [August 26, 2004, 4:37am UTC](https://forum.kirupa.com/t/add-numbers/120642/1 "2004-08-26T04:37:35Z")

</div>

hey i followed the turtorial on how to add numbers to a dynamic text box but wat i really wannt know is how to make it do something if it hits a certain number…I tryed on my own… as i didntwanna bother people here but for some reeason it wont go so please people help me

if (\_root.total = \_root.total 10) (  
gotoAndPlay(2);  
}

the total is the text box and i would like it to go to frame 2 wen the numbers hit 10.
