Reading the various comments in the CircleMUD source is a bit of a treat: https://github.com/Yuffster/CircleMUD