# Passwords

**URL:** <https://forum.kirupa.com/t/passwords/280575>\
**Category:** Uncategorized\
**Created:** [January 29, 2009, 1:33am UTC](https://forum.kirupa.com/t/passwords/280575 "2009-01-29T01:33:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Danief](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Danief](https://forum.kirupa.com/u/Danief)\
**Post date:** [January 29, 2009, 1:33am UTC](https://forum.kirupa.com/t/passwords/280575/1 "2009-01-29T01:33:55Z")

</div>

I am trying to make a password to access a certain level. heres the code ive come up with…

```auto
on (release, keyPress "<Enter>") {
	if(input.text == "35") {
		gotoAndStop(35);
	}
	 else {
		gotoAndStop(55);
	}
}

```

where the input text box var is “input”

but for some reason, its not working. the “else” command is working perfectly, but when i try and use the password “35” to get to frame 35 it treats it treats it as “else” as if its not recognizing the password.

halp!
