Re: Clearing Players buffer

From: Sammy (samedi@DHC.NET)
Date: 07/31/97


On Wed, 30 Jul 1997, Chris Jacobson wrote:

> Does anyone know a way to clear the player's incoming buffer?
> I want to make it so that when they die, the incoming buffer gets wiped,
> so that all that menu doesn't scroll by (or in my case, so that player's
> don't "flee" after dying, since they are brought back to the start point
> after death).

*ch->desc->inbuf = '\0';

Sam


     +------------------------------------------------------------+
     | 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/08/00 PST