: Updated Mortal Where This mortal_where will display which zone you are in and the current state of your fellow inzone players. -----------------------------[ Step One ]----------------------------- > in file act.informative.c > add, to the extern variables: extern struct zone_data *zone_table; -----------------------------[ Step Two ]----------------------------- > in file act.informative.c > replace the old void perform_mortal_where with this: void perform_mortal_where(struct char_data * ch, char *arg) { register struct char_data *i; register struct descriptor_data *d; struct room_data *rm = &world[ch->in_room]; if (!*arg) { sprintf(buf, "Players in Zone #%-3d %s\r\n---------------------+\r\n", zone_table[rm->zone].number, zone_table[rm->zone].name); send_to_char(buf, ch); for (d = descriptor_list; d; d = d->next) { if (STATE(d) != CON_PLAYING) continue; if ((i = (d->original ? d->original : d->character)) == NULL) continue; if (i->in_room == NOWHERE || !CAN_SEE(ch, i)) continue; if (world[ch->in_room].zone != world[i->in_room].zone) continue; sprintf(buf, "%-20s | %s (%s)\r\n", GET_NAME(i), world[i->in_room].name, position_types[(int)GET_POS(i)]); send_to_char(buf, ch); } } else { /* print only FIRST char, not all. */ sprintf(buf, "Single Player in Zone #%-3d %s\r\n--------------------------+\r\n", zone_table[rm->zone].number, zone_table[rm->zone].name); send_to_char(buf, ch); for (i = character_list; i; i = i->next) { if (i->in_room == NOWHERE) continue; if (!CAN_SEE(ch, i) || world[i->in_room].zone != world[ch->in_room].zone) continue; if (!isname(arg, i->player.name)) continue; sprintf(buf, "%-25s | %s", GET_NAME(i), world[i->in_room].name); act(buf, TRUE, ch, 0, 0, TO_CHAR); return; } send_to_char("No-one around by that name.\r\n", ch); } } ---------------------------------------------------------------------- Do whatever you want with this piece of code. Enjoy it, hate it, smash it, remake it...... If you decide to use it, please send me a mail, including the address to your mud. A line in your credit file is of course also appreciated / Hugor (hugor@freebox.com)