> > if (buf != " You see ") { Besides, you'll probably want to use a line like if(!strcmp(buf," You see ") { instead. Arithmetic operators don't always work right when dealing with strings. PjD +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST