if (condition) statement1 else statement2

How do I say, if what the user typed in equals the string that I want it to equal then execute the function.

Thanks,

-Nos