ShowInventory
From GECK
A function included in the GECK for Fallout 3.
Description
Lists all the objects contained within a targeted reference, showing the count, editor ID, numeric ID, and whether an actor is wearing the particular object. Weapons and armor items lists will show a (health, health %) value.
Console Functions are normally exclusively for use in the in-game Console (accessible by pressing "~").
With JIP LN NVSE Plugin, any console function can be used in scripts with the Console function.
Syntax
ref.ShowInventory
Or:
ref.inv