[CODE] CAP(buf); question

From: Kingmundi (Kingmundi@AOL.COM)
Date: 12/27/97


in act.informative.c
in the diag_char_to_char function

what does CAP(buf); do in the following code?

  else
    percent = -1;               /* How could MAX_HIT be < 1?? */

  strcpy(buf, PERS(i, ch));
  CAP(buf);

  if (percent >= 100)
    strcat(buf, " is in excellent condition.\r\n");


is it suppose to convert a characters name to all capitalized letters?
i put a
send_to_char(buf, ch);
before and after CAP(buf);

and logged on two characters, Doctor and Testdummy

diagnose testdummy
TestdummyTestdummyTestdummy is in excellent condition.

it seems like nothing has changed from the CAP(buf); proceedure


     +------------------------------------------------------------+
     | 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/08/00 PST