# Script broblem

**URL:** <https://forum.kirupa.com/t/script-broblem/178799>\
**Category:** flash\
**Created:** [February 14, 2006, 11:51am UTC](https://forum.kirupa.com/t/script-broblem/178799 "2006-02-14T11:51:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Filmsandmovies](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@Filmsandmovies](https://forum.kirupa.com/u/Filmsandmovies)\
**Post date:** [February 14, 2006, 11:51am UTC](https://forum.kirupa.com/t/script-broblem/178799/1 "2006-02-14T11:51:26Z")

</div>

I have a problem in my script and i need some help.  
THere is a button,input text and a dynamic text.  
I am suppose to write stuff and gett an answer.  
the secript goes like this:  
on(release){  
if(input=“haha”){(answer=“whats so funny?”)}  
if(input=“hello”){(answer=“hello!”)}}

the problem is that no matter what i write it changes it to the last one=“hello”.  
plz help.
