After finding the first verb, however, it stops looking for verbs. So if you type "take key walk north" it'll only take the key and won't walk north. When it came to checking directions, I had to make a similar check so if the player typed "walk east east" it didn't try to walk east twice.
I also added a line break between each directional sentence, so it's easier to read where you an go. Took me a while to find where I put that info. Sometimes things start to get a little convoluted. Need more comments!