#include <standard.h> #include <cmd.h> inherit CMD_BASE; setup() { position = 1; } static int cmd(mixed name, object me) { // Quick hack of a frooble for auto_load IOUs... // Radix May 1, 1996 int i; object pl, *all; mapping tmp = ([ ]); if(!name) return 0; name = me->expand_nickname(name); pl = find_player(name); if(!pl) { notify_fail("Could not find "+name+"\n"); return 0; } all = deep_inventory(pl); tell_object(me, "Looking...\n"); for(i=0; i<sizeof(all); i++) { if(all[i] && all[i]->query_iou_object()) { tmp = all[i]->query_static_auto_load(); if(sizeof(tmp["auto_string"])) { tell_object(me,sprintf("%O - ",file_name(all[i]))); tell_object(me,sprintf("%O\n",tmp["auto_string"][1])); } } } tell_object(me, "Done.\n"); return 1; }