Re: [CODE] HELP - How to get a monster name ?

From: Rasmus 'Con' Ronlev (
Date: 10/27/96

On Sun, 27 Oct 1996, Mr R.H.Green wrote:

> and was wondering if someone could help out and explain how i can get the
> mobiles name into the code.
>         sprintf(buf, "        Num [%-5d] - <USED>\r\n", i);

   try :  sprintf(buf, "        Num [%-5d] - %s\r\n", i,
                  (mob_proto + i)->player.short_descr);

Something like that if I remember correctly..
You can get some more hints on this going through do_stat I'd say..

Good luck,

     Rasmus Rønlev DOEK'94      WWW:
     Student instructor         MUD: 5000
       Student, B.Sc in Computer Science and Business Administration.

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

This archive was generated by hypermail 2b30 : 12/18/00 PST