Re: [Newbie] do_where

From: John Evans (evansj@HI-LINE.NET)
Date: 05/05/98


On Tue, 5 May 1998, Kiera Dragonwind wrote:

> Has anyone out there successfully put in a page break in the immortal
> do_where?  If so perhaps you yould illuminate me on how to do this.
>

Take all of the output from the 'where' command, and instead of sending
it straight to the user, stick it all in a buffer (buf). At the end of
the function use page_string() to send it through instead of send_to_char().

Read through some of the code, and grep for page_string. You'll see what
I mean.

John Evans <evansj@hi-line.net>  --  http://www.hi-line.net/~evansj/

Any sufficiently advanced technology is indistinguishable from magic.
  -- Arthur C. Clarke


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