I believe the double equals is necessary on an IF statement...
if(text == "certain thing")
BTW, the ELSE statement isn't necessary. I mean that you may only have action to if the IF statement is TRUE, you don't have do open the ELSE statement and close it without performing any actions.
-- Secret_Doom - Leonardo Pignataro --
secret_doom@hotmail.com
www.batch.hpg.com.br
: your if statement should be like this:
:
: var text
: text = prompt("Question", "thing that appears")
: (this is the part)
: if(text = "certain thing")
: {
: (action)
: }
: else
: {
: (no action)
: }
:
: Ben Martin

: programmer
:
:
: