Bit of a vague description but I guess you're thinking along the lines of adventure programs where you issue commands like "LOOK AT TREE" and the program prints a suitable description. Would that be correct?
If so all you need to do (!) is implement a command parser that takes user commands and works out what they mean, validates them against the current context (e.g. if there is no tree then it would print an error), then displays an appropriate description, which might be stored in static text somewhere, or might be kept in an indexed file.