Open act.informative.c
change your do_auto_exits to
static void do_auto_exits(struct char_data *ch)
{
int door, len = 0;
if (AFF_FLAGGED(ch, AFF_BLIND) && GET_LEVEL(ch) < LVL_IMMORT) {
send_to_char(ch, "You can't see a damned thing, you're blind!\r\n");
return;
}
send_to_char(ch, "%sObvious exits:%s\r\n", KBLU, KNRM);
for (door = 0; door < NUM_OF_DIRS; door++) {
if (!EXIT(ch, door) || EXIT(ch, door)->to_room == NOWHERE)
continue;
if (EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED) && !CONFIG_DISP_CLOSED_DOORS)
continue;
if (EXIT_FLAGGED(EXIT(ch, door), EX_HIDDEN) && !PRF_FLAGGED(ch, PRF_HOLYLIGHT))
continue;
len++;
if (!IS_NPC(ch) && PRF_FLAGGED(ch, PRF_SHOWVNUMS) && !EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED))
send_to_char(ch, "%s%-5s - %s %s %s[%s%5d%s]%s\r\n", KBLU, dirs[door],
EXIT_FLAGGED(EXIT(ch, door), EX_HIDDEN) ? " [HIDDEN]" : "", world[EXIT(ch, door)->to_room].name,
KBLU, BBLU, GET_ROOM_VNUM(EXIT(ch, door)->to_room), KBLU, KNRM);
else if (CONFIG_DISP_CLOSED_DOORS && EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED)) {
/* But we tell them the door is closed */
send_to_char(ch, "%s%-5s - The %s is closed%s%s\r\n", KBLU, dirs[door],
(EXIT(ch, door)->keyword)? fname(EXIT(ch, door)->keyword) : "opening",
EXIT_FLAGGED(EXIT(ch, door), EX_HIDDEN) ? " and hidden." : ".", KNRM);
}
else
send_to_char(ch, "%s%-5s - %s%s\r\n", KBLU, dirs[door], IS_DARK(EXIT(ch, door)->to_room) &&
!CAN_SEE_IN_DARK(ch) ? "Too dark to tell." : world[EXIT(ch, door)->to_room].name, KNRM);
}
if (!len)
send_to_char(ch, " %sNone.%s\r\n", BRED, KNRM);
}
Then change ACMD(do_exit) to
ACMD(do_exits)
{
do_auto_exits(ch);
}