This line will happen whatever action the player types in - I don't think that's what you want.

Also, we should have some kind of "don't understand" message for unrecognised commands.