Find command by Cathy Gore Little note: Tested on a CircleMUD 3.0 bpl 18 This file is a search tool for objects and mobs. The command is called 'find'. Like do_vnum, it will list the vnums and short descriptions of the mobs/objects found. It is customizable so that you can add further parameters to search for. Usage: find mob|obj For example: > find mob level 20 Searching mobs for level (20). 1. [ 110] an old woman 2. [ 2098] a young girl 3. [ 2181] the light source shop owner 4. [ 2182] a weapons smith 5. [ 2183] Xartagria, the alchemist The currently available find fields are as follows: for mobs: level, hitroll, damroll for objs: level, perm (permanent affects), type Instructions: -Add the file search.c to your src directory -Add search.o to the Makefile OBJECT files -Add search.c to the Makefile CXREF files -Add in a line in interpreter.c command list for the command 'find' The file should be just about completely self-contained, just plop it in, and compile away. Enjoy! As per the standard disclaimer, I am not responsible for any damages this may do to your mud. As always, remember to back up your files before making any changes. Should you need any help with this function, feel free to contact me at cheron@arcanerealms.org. If you use this, please email me, and drop a line of credit in your credits. -Cathy Gore aka Cheron, Arcane Realms