umm....

if (IS_IMMORTAL(ch))
{
  chprintf(ch,"[Room: %d] [Flags: %s]",
    ch->in_room->vnum,
    flag_string(room_flags, ch->in_room->room_flags));
}

Or something like that :)

Stainless wrote:
> 
> I was wondering if anyone has a snippet for showing room flags to immortals
> (for builders) so they don't have to hit enter in each room to see what the
> flags are. Basically walk through and look at the flags on the top line of
> room description. Thanks,
> 
>                     Dantin
> 
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom

Reply via email to