I just added something exactly like this recently. I will say I disagree with some of Tony's response of it unbalancing, or being a gun that doesn't hurt yourself (I look at it in the perspective that one may *intend* to do something, and then changes their mind, hey, that is exactly what happened, except the person actually typed their intention, anyway). For anyone who cares, the input from a player is stored in a buffer (d->inbuf I'm pretty sure, there are 2 buffers being worked with in this part of the code). What I did was add something, and yes, it is a little bit of a hack, to read_from_buffer in comm.c. That is where you will want to look. If you have any more questions, you can send them to me directly if you want.
Boh-Ahz > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > [EMAIL PROTECTED] > Sent: Tuesday, January 21, 2003 10:33 AM > To: [email protected] > Subject: question on ch->wait > > A few of players would like to a command to clear everything they typed > previously, an example: > kick scout > kick scout > kick scout > kick scout > kick scout > > Whoops 3 more scouts walked in, I wanna run now! But that is impossible > because I will be kicking the first scout for the next minute or so. So I > wanted to create a command called 'clear' or something that would delete > everything that they previously typed in. I was looking at the code and I > have no idea where the commands are stored, or how it determines if the > character is in a wait state or not. Can anyone point me in the right > direction? I would search the archives but they aren't working right now. > THANKS > > -- > ROM mailing list > [email protected] > http://www.rom.org/cgi-bin/mailman/listinfo/rom

