Hi everyone, asking for a bit of help regarding setting up a password where the player types in the password on the first frame screen, and the then, if correct, the game proceeds on to the main menu frame. I tried using the examples in the help files, but came up short when it came to preventing access to the game if the password was wrong. Copying the help files threw a fault. To create the password, I created a hot-spot on the screen with the words: ENTER PASSWORD. In the hotspot properties, I successfully got the msgbox to appear, typed in the password, and did a gotoframe at the end, but couldn't get passed that for a negetive.
My Code: If ENTERED_PASSWORD = inputbox ("Enter Password")
If ENTERED_PASSWORD = ("Arien") then msgbox ("Correct")
CreateTimedEvent 2,"Action.GoToFrame""Menu"",3,1",False
Works unfortunately, with any typed word. If I add an ELSE or return value, it throws an error, expecting 'End' of 'If' or some such. Any one out there compiled a successful code? I'd be happy to try it.
Cheers, Arien Ram.