Hi,
I found a Kirupa code for creating a password:
[FONT=Courier New][SIZE=2][COLOR=#0000ff]if[/COLOR] (password == “kirupa”) {
inputStatus = “Access granted!” ;
} [COLOR=#0000ff]else[/COLOR] {
inputStatus = “Access denied!” ;
}
I’m wondering if it’s possible to modify this code so it can accept multiple passwords, with each correct password offering a different action.
thank you for any help!
Marc
[/SIZE][/FONT]