Re: Question

From: Andrey Fidrya (andrey@alex-ua.com)
Date: 11/16/98


> >  strcat(buf, "\r\n");
> >  page_string(ch->desc, buf, TRUE);
> >Is there any reason to use page_string here?
> >Why can't it be something like "send_to_char(buf, ch)"?
> Because some moronic player may do something like this, especially if you
> don't have object stacking in:
> A sword is here.
> A sword is here.
> A sword is here.
> .....  All the way through the parts of the body.  That way the player
> can see the thousands of objects in the room :)

You're wrong. It calls page_string on _every_ object.
So I still can't see any reason why it is used here instead of send_to_char.

  Andrey


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