HegemonKhan wrote:found this post by Jay:"jaynabonne"
Just to insert a thought for some point in this discussion, in case it helps - for basic conditional string handling, I'd go with the text processor:
http://quest5.net/wiki/Text_processor
You still need to set flags, but once you do, it's trivial to make part of your text show up only sometimes (no scripting to concatenate strings, etc). For example, if you put the following in your room description:The bedroom is brightly painted, with numerous posters on the wall of bands from the 1980s. {if not player.hassword:There is a sword on the floor.}
then "There is a sword on the floor" will only show up if "player.hassword" is false.
ah, this is actually pretty simple, I should be able to help you get this to work.
msg (" " + player.alias + " is a " + player.gender-string + " " + player.race_string + " " + player.class_string + ".") HK is a male human warrior.
msg (" " + player.alias + " is a " + player.gender-string + " " + player.race_string + " " + player.class_string + "."){game.leadin}It was a dark and stormy night. You didn't normally like to take part in cliches, but you had no option tonight as your boss had just called and demanded you work the night shift for a change.
{game.leadin}As you drove along the twisty road high above the ocean, you wondered how your life had come to this.
etc