> ok im newbie when it comes to this so i understand it has to check so do i > do a > if (IS_NPC(ch)) or would it be a if (!IS_NPC(ch)) so that PCs use the code? > and npc dont.. Well, "!" can be translated to "not" in English, so if you just read what you've wrote, it follows that IS_NPC(ch) would mean ch is an npc, and !IS_NPC(ch) would be ch is NOT an NPC. I would highly recommend buying a good C book and reading it thoroughly before you attempt to run your MUD. ___ Jon A. Nielsen Lazarus of Spear of Insanity MUD spear.kilnar.com:1066 http://spear.kilnar.com/ +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT