ok so i need help again, i know how to make text entry boxes work, but ive never made one that had 2 "answers" before, and now that ive tried to experiment, it has failed and i keep getting a "syntax error"... so can someone please help fix this script for me?
If TextBoxObject(16).Text <> "CORRECT PASSWORD" Then
Message "Login failed!"
ElseIf
TextBoxObject(16).Text <> "EGG PASSWORD" Then
Action.GoToFrame "computer wrong screen"
Message "Login failed!"
Else
Action.GoToFrame "computer screen 2"
Message "Login successful!"
End If
it works just fine without the middle "ElseIf" part, but i want that there because i got a humorous "egg" screen that you can get to if you enter something in particular, that the player will likely fall for.
i tried replacing the <> with = but that didnt seem to cure the "syntax error", any ideas?