argument help

From: Adam G Dobrinin (norrinr@juno.com)
Date: 02/02/00


SPECIAL(command_proc)
{
  char buf[MAX_STRING_LENGTH];
  char command_arg[MAX_STRING_LENGTH];

  if (CMD_IS("say")) {
    argument = one_argument(argument, command_arg);
    sprintf(buf, "%s%s%s\r\n", CCCYN(ch, C_CMP), command_arg, CCNRM(ch,
C_CMP));
    send_to_char(buf, ch);
    sprintf(buf, "%sDiagnostics check complete.%s\r\n", CCYEL(ch, C_CMP),
CCNRM(ch, C_CMP));
    send_to_char(buf, ch);
    if (command_arg == "diag")
      send_to_char("Testing...\r\n", ch);

    if (command_arg == "testing")
      send_to_char("Testing...\r\n", ch);

    return 0;
  }
  return 0;
}

How come when I type 'say diag' or 'say testing' it does not work?
Everything else works just fine.

Sincerely
Adam Dobrinin
norrinr@juno.com

________________________________________________________________
YOU'RE PAYING TOO MUCH FOR THE INTERNET!
Juno now offers FREE Internet Access!
Try it today - there's no risk!  For your FREE software, visit:
http://dl.www.juno.com/get/tagj.


     +------------------------------------------------------------+
     | 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