problem with text input from user
Posted: Wed Jun 11, 2008 12:09 am
so, i have a textbox the user types into (it's for passwords), and it's not working the way it should, i think.
I have it so when the user presses enter, it runs this:
I thought this would work, but it didn't.
I also tried this, which is how you do it in most programming languages:
so... anyone know how to do this *cough* *sgtsparky* *cough* *makslane* *cough*
I have it so when the user presses enter, it runs this:
- Code: Select all
if (passinput.text == "password")
{
...
}
I thought this would work, but it didn't.
I also tried this, which is how you do it in most programming languages:
- Code: Select all
if (passinput$ == "password")
{
...
}
so... anyone know how to do this *cough* *sgtsparky* *cough* *makslane* *cough*