[CODE] Unterminated character constant

From: Thomas Smith (ibedemigod@HOTMAIL.COM)
Date: 04/06/98

Hello again,

At the risk of being a total pain in the ass (which i know i am hehe) I
whiped up this skill and when i complie it i get an "Unterminated
character constant" error.  What this code is supposed to do is, if your
a warrior, you can administer first aid to someone with under 0 hp.  If
your succesful, you bring you victim up to 1 hp so he/she stops dying.

Thanx in advance.


  struct char_data *vict;
  int percent, prob;

    send_to_char("You have no clue how to administer first aid!\r\n",

  if (GET_HIT(vict) > 0) {
    send_to_char("This person does not need first aid."\r\n", ch);

  one_argument(argument, arg);

    if (!(vict = get_char_room_vis(ch, arg))) {
      send_to_char("Administer first aid to whom?\r\n", ch);

  if (vict == ch) {
    send_to_char("You can't adminster first aid to yourself!!\r\n", ch);

  percent = number(1, 101);     /* 101% is a complete failure */
  prob = GET_SKILL(ch, SKILL_AID);

  if (percent > prob) {
  else {
    GET_HIT(vict) = GET_MAX_HIT(vict) - GET_MAX_HIT(vict) + 1;
    send_to_char("You fell a bit better now.\r\n", vict);



Get Your Private, Free Email at http://www.hotmail.com

     | 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