From: David Klasinc Subject: Locate target spell... If players can locate objects, why not also locate players and mobs? Here it is.... :) You know what to do... change spells.h with adding new spell define, change spell_parser.c with adding another spello(), another case to deal with manual spells and change one of the !UNUSED!... Add this little snippet to the spells.c and that's it... Hm, no also add one more ASPELL define in spells.h :) ASPELL(spell_locate_target) { struct char_data *i; char name[MAX_INPUT_LENGTH]; int j; strcpy(name, fname(victim->player.name)); j = level >> 1; for (i = character_list; i && (j > 0); i = i->next) { if (!isname(name, i->player.name)) continue; if (i->in_room != NOWHERE) sprintf(buf, "%s is in %s.\n\r", IS_NPC(i) ? i->player.short_descr : i- >player.name, world[i->in_room].name); else sprintf(buf, "%s's location is uncertain.\n\r", IS_NPC(i) ? i->player.short_descr : i->player.name); CAP(buf); send_to_char(buf, ch); j--; } if (j == level >> 1) send_to_char("You sense nothing.\n\r", ch); }