Making a Text based game. Need help.

view story

http://www.unix.com – Okay so Zork sparked my interest in this. I have been learning to program for the last year and a half. I've dabbled in everything from Java to Ruby to PHP & XHTML & SQL, and now I'm on bash. I really like bash scripting. Its easy and fun. I just started two days ago. Pretty much I've been writing a story line requiring user input, but simply just using read, echo, if/then/else, etc. Pretty much what I need help is being able to branch off into different scenarios based on user input. For example, echo -n "Retto is very excited that Miles has joined the ranks. However, he needs to (HowTos)