/************************************************************************ Improved Exit Display by Chuck Reed Feel free to do what you want with this code. I don't want to be credited, hell you can even credit yourself! ************************************************************************/ In act.informative.c, replace the entire function of do_auto_exits with: void do_auto_exits(struct char_data * ch) { int door; *buf = '\0'; for (door = 0; door < NUM_OF_DIRS; door++) if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE) { if(IS_SET(EXIT(ch, door)->exit_info, EX_CLOSED)) sprintf(buf, "%s*%c ", buf, LOWER(*dirs[door])); else sprintf(buf, "%s%c ", buf, LOWER(*dirs[door])); } sprintf(buf2, "%s[ Exits: %s]%s\r\n", CCCYN(ch, C_NRM), *buf ? buf : "None! ", CCNRM(ch, C_NRM)); send_to_char(buf2, ch); } Next, replace ACMD(do_exits) with the following: ACMD(do_exits) { int door; *buf = '\0'; if (IS_AFFECTED(ch, AFF_BLIND)) { send_to_char("Your blind eyes see less than you thought they would.\r\n", ch); return; } for (door = 0; door < NUM_OF_DIRS; door++) { if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE) { if(IS_SET(EXIT(ch, door)->exit_info, EX_CLOSED)) { sprintf(buf2, "%-5s - ", dirs[door]); strcat(buf2, "A closed door.\r\n"); } else if(!IS_SET(EXIT(ch, door)->exit_info, EX_CLOSED)) { if (GET_LEVEL(ch) >= LVL_IMMORT) sprintf(buf2, "%-5s - [%5d] %s\r\n", dirs[door], world[EXIT(ch, door)->to_room].number, world[EXIT(ch, door)->to_room].name); else { sprintf(buf2, "%-5s - ", dirs[door]); if (IS_DARK(EXIT(ch, door)->to_room) && !CAN_SEE_IN_DARK(ch)) strcat(buf2, "Too dark to tell\r\n"); else { strcat(buf2, world[EXIT(ch, door)->to_room].name); strcat(buf2, "\r\n"); } } } strcat(buf, CAP(buf2)); } } send_to_char("Obvious exits:\r\n", ch); if (*buf) send_to_char(buf, ch); else send_to_char(" None.\r\n", ch); } Now recompile and reboot your mud. Exits with closed doors should appear as *n or whatever direction it is. When exit is typed, a closed door should read: North - A closed door If you need any help or experience any problems, just mail me at creed@i-55.com Chuck Reed