@verb #3512:"ii" any none none rxdo #6319 @program #3512:"ii" any none none " Usage: ii " " ii " "" "A new way to display a player's inventory. Columnizes the list, rather then priting it (like with 'i')." "" "Written by Lancer (#5999), and changed a wee bit by Raptor (#6319)." this:update_usage(verb, player) if (!args) if (caller == this) return player:tell("You should include the name of a player.") endif dobj = player else if ($command_utils:player_match_failed(dobj = $string_utils:match_local_player(args[1]), args[1])) return endif endif contents = dobj.contents caller == this && player:tell("
")
player:tell(tostr("Objects carried by ", valid(dobj) ? dobj.name | dobj, ":"))
player:tell("Carrying", $string_utils:right("Parent Owned by", 54))
player:tell("--------", $string_utils:right("------- --------", 54))
count = 0
if (contents)
  for x in [1..length(contents)]
    item = contents[x]
    player:tell(this:object_inven_string(item))
    count = count + 1
  endfor
else
  player:tell("Nothing.")
endif
if (count)
  player:tell("")
endif
player:tell(tostr("Total: ", count, " object", count == 1 ? "." | "s."))
caller == this && player:tell("
") "Last modified by Slackeur (#55) on Wed Nov 4 16:53:37 1998 EST." .