Re: [CODE] Mob Messages

From: ;P (siv@CYBERENET.NET)
Date: 03/09/98


>   if (!IS_NPC(victim)) {
>     send_to_char("That's another player.  Try the 'Say' command.\r\n", ch);
>     return;
>   }
> strcat(buf, mob_talk(GET_MOB_VNUM(victim)));
> }

change the strcat(blah...) to:

send_to_char(mob_talk(GET_MOB_VNUM(victim)), ch);

>        case 100:
>        return "Bob says, 'I saw a man down by the river, maybe you should
> check him out.'";

you might also want to add a "\r\n" to the end of the lines..

siv


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