Re: who and where while in Oasis's OLC

From: Jon A. Nielsen (
Date: 02/13/00

> This is what I did to do_who
>   for (d = descriptor_list; d; d = d->next) {
>     if (STATE(d) != CON_PLAYING) {
>        if (STATE(d) <= CON_DISCONNECT) /* olc states are > than

That works as well;  the only reason I didn't do that is because if you add
another OLC function, it will probably be out of that range, so I just
created the IS_BUILDING macro so that you can just add new olc states to it.

Jon A. Nielsen
Lazarus of Spear of Insanity MUD

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

This archive was generated by hypermail 2b30 : 04/10/01 PDT