Here's a interesting one:

IS_NPC(ch) in rchannels is finding a few individuals to be NPC's and not 
letting them use IMC.  I checked them for the ACT bit in the pfile, and they 
don't have it... AND, no other IS_NPC(ch) function thinks they are an NPC (even 
wrote a test function with an IS_NPC check).  Any thoughts on why this could be 
occuring?  Thanks in advance!  :)


DEFINE_DO_FUN(do_rchannels)
{
  char buf[MAX_STRING_LENGTH];
  char arg[MAX_STRING_LENGTH];
  bool toggle;
  int i;
  const char *name;
  long flag;

  if (IS_NPC(ch))
  {
    send_to_char("NPCs cannot use IMC.\n\r", ch);
    return;
  }



Reply via email to