Re: [bpl11] Remorts again

From: Chuck Reed (master@I-55.COM)
Date: 08/16/98


Try this:

ACMD(do_remort)
{
   struct char_data *vict;

   one_argument(argument, arg);

   if(*arg) {
     if(!(vict = get_char_vis(ch, arg))) {
        send_to_char("They don't seem to be here.\r\n", ch);
        return;
       }
     if(GET_LEVEL(ch) < LVL_IMMORTAL && ch != vict) {
        send_to_char("You can't remort anyone but yourself!\r\n", ch);
        return;
       }
     }
  else
     vict = ch;

   PLACE ALL REMORT CODE HERE USING VICT FROM NOW ON
}



---------------------------------------
Chuck Reed      | Ash of Dark Horizon |
master@i-55.com | dh.gator.net 6001   |
---------------------------------------


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