This nifty little command will show a offline/online players level, class and title. If it is an imm (or higher) it will display the rank. It is based on an older version from Primacy with bug fixes from Ron Hensley . This version has been reworked by Hugor Level 1 Wa - Player the Swordpupil [IMPLEMENTOR] - Implementor the Implementor -----------------------------[ Step One ]----------------------------- /* Add this to act.informative.c */ ACMD(do_whois) { struct char_file_u tmp_store; struct char_data *victim = 0; skip_spaces(&argument); if (!*argument) { send_to_char("Who?\r\n", ch); } else { CREATE(victim, struct char_data, 1); clear_char(victim); if (load_char(argument, &tmp_store) > -1) { store_to_char(&tmp_store, victim); *buf = '\0'; if (GET_LEVEL(victim) == LVL_IMPL) sprintf(buf + strlen(buf), "&k[&WIMPLEMENTOR&k] &y%s %s&n\r\n", GET_NAME(victim), GET_TITLE(victim)); else if (GET_LEVEL(victim) == LVL_GRGOD) sprintf(buf + strlen(buf), "&k[&CGreater God&k] &y%s %s&n\r\n", GET_NAME(victim), GET_TITLE(victim)); else if (GET_LEVEL(victim) == LVL_GOD) sprintf(buf + strlen(buf), "&k[&MGod&k] &y%s %s&n\r\n", GET_NAME(victim), GET_TITLE(victim)); else if (GET_LEVEL(victim) == LVL_IMMORT) sprintf(buf + strlen(buf), "&k[&cImmortal&k] &y%s %s&n\r\n", GET_NAME(victim), GET_TITLE(victim)); else if (GET_LEVEL(victim) < LVL_IMMORT) sprintf(buf + strlen(buf), "Level %d %s - &y%s %s&n\r\n", GET_LEVEL(victim), CLASS_ABBR(victim), GET_NAME(victim), GET_TITLE(victim)); send_to_char(buf, ch); } else { send_to_char("There is no such player.\r\n", ch); } free(victim); } } /* end of whois code */ -----------------------------[ Step Two ]----------------------------- Add it to interpreter.c, under do_who. { "whois" , POS_DEAD , do_whois , 0, 0 }, ---------------------------------------------------------------------- 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)