Text input and scrolling

I’m making this “Linux” type sim thingy for my website, it’s not supposed to be exactly like Linux but similar. Anyway, a user types in something like “GB” and it will take them to my guestbook, or whatever. And if a user types in something invalid, it will print out “Invalid Command!” or something like that, and the rest of the text before it will scroll up if it is running out of room.

I attached the .fla because this sounds really confusing. My problem is I don’t know how to get it so that when the user presses enter, the input box is read and a command executed depending on what they entered. For some reason it isn’t doing anything when I hit enter.

Help is much appreciated!