501 @verb #3135:"@" any none none rxdo #3135 @program #3135:"@" any none none "Copied from Generic Builder (#13):@contents by Hacker (#60) Nov 28 21:11:21 2004" "@contents - list the contents of an object, with additional data. By Raptor & Odo." dobj = dobjstr ? player:my_match_object(dobjstr) | player.location if ($command_utils:object_match_failed(dobj, dobjstr)) return endif contents = dobj:has_verb("contents") ? dobj:contents() | dobj.contents if (contents) lines = {} for x in (contents) if (x:isa($player) && x:connected()) $command_utils:suspend_if_needed() obj_name = `(obj_num = x):title() ! ANY => obj_num.name + ": [Broken Title!]"' par_name = valid(par_num = parent(x)) ? `par_num:title() ! ANY => par_num.name + ": [Broken Title!]"' | $find_ref(par_num) || tostr(par_num) own_name = valid(own_num = x.owner) ? `own_num:title() ! ANY => own_num.name + ": [Broken Title!]"' | $find_ref(own_num) || tostr(own_num) lines = {@lines, {obj_name, obj_num, par_num, own_name}} endif endfor player:tellColumns({30, 5, 5, 30}, {"Object", "#", "Parnt", "Owner"}, @lines) else player:sub_tell("%D (#%d~#) contains nothing.") endif "Last modified by whiz (#3135) on Sun Nov 28 21:16:00 2004 MST." . 0