Re: GET_ID (idea from DG)

From: Daniel Koepke (dkoepke@CALIFORNIA.COM)
Date: 03/16/98


On Mon, 16 Mar 1998, Akuma/Chris Baggett/DOOMer wrote:

->A shopkeeper tells you, 'mobile newmonster Leave before I call the guards!!'
->sprintf(buf, "\e%d %s", GET_ID(ch), msg); // MSG_NO_SELL_CLASS
->do_tell(keeper, buf, cmd_tell, 0);

Funny, I thought GET_NAME did,

  (IS_NPC(ch) ? (ch)->player.short_descr : (ch)->player.name)

At least, it does in bpl12 and on my older MUDs that is how I had it
defined (not sure if I changed it, or what, though...)

-dak


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