Ok what I have is a simple if else script, can anyone help to improve it for a login?

Ok what I am after is a few usernames and passwords in order to access the map I have built.

I have used a simple if else statement, but would really like some direction to further process.

Another cool thing I would like to add is maybe a tick, if correct username has been added, then display tick else dont, the same for password.


on (release) {
	if (pass == "c9804321") {
	gotoAndStop(2);
	    } else {
	gotoAndStop(1);
   }
}

Any help in this area ?

Trev