Re: [CODE] Adding AFK Flag..

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 09/29/97

On Mon, 29 Sep 1997, Aaron Miller wrote:

>find this spot, I tried where the AFF_HIDE bit was removed, but that
>caused me to get a "You are no longer AFK." message each time I typed
>something. So I added an if check, making it look like this:

I'd put it in command_interpreter and simply removing the bit should not
make the message appear (becase they did not type the afk command).

>Oh, btw, what is the variable for the command they are trying to use in
>interpreter.c? I'd also like to add a check to that if so it won't run if
>they are doing the command 'AFK' anyways.

CMD_IS is usually used, at least in special procedures.

George Greer  -   | Genius may have its limitations, but stupidity | is not thus handicapped. -- Elbert Hubbard

     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST