Skip to content

/im

Script-provided

Registered by inv_mgmt. Start it with /lua run inv_mgmt.

Syntax

/im space | gear | bags | potions
/im find|count <name>
/im use|scribe|read|examine|place <name>
/im verb <native_verb> <name>
/im equip|unequip|swap <name>
/im destroy <name> [count]
/im adorn "<adornment>" <slot>

Description

Inventory management from a slash command — read your bags and worn gear, report free space, and fire an item's right-click verbs by name. Complements /inv with a space/count report, weapon swapping, adornments, and a raw-verb escape hatch. Names are matched case-insensitively and partially.

Reading

Command What
space Carried / bank slot report (used, free, capacity; warns on low space).
find <name> Search bags + equipped for a match, with item_def detail.
count <name> Total stack count of matching items.
potions List every item with "potion" in the name.
gear List all equipped gear with slot names.
bags Per-bag capacity breakdown.

Acting

Command What
use\|scribe\|read\|examine\|place <name> Fire that item verb, but only if the item actually offers it. activate is an alias for use.
verb <native_verb> <name> Escape hatch — fire a raw native inventory <verb> <index> command (see below).
equip <name> Equip a bag item.
unequip <name\|slot> Unequip by name or slot (e.g. primary).
swap <name> Swap a weapon into your primary slot (unequips the current one first).
destroy <name> [count] Destroy an item (count defaults to the full stack).
adorn "<adornment>" <slot> Attach an adornment to the item in an equip slot, e.g. /im adorn "Deific Ferocity" feet.
debug on\|off Verbose step logging.

The raw-verb escape hatch

The first-class verbs above (use, scribe, …) are flag-gated: /im checks the item really offers that action before sending it. Some context-menu actions aren't mapped to a first-class verb — reward containers, for example, use an unpack action. /im verb <native_verb> <name> sends the raw inventory <verb> <index> command with no gate, so it works for any native verb:

/im verb unpack box of old boots

Because there's no gate, an inapplicable verb is simply no-op'd by the client. Use /im find <name> first if you're unsure what an item offers.

destroy is irreversible

/im destroy requires an exact (case-insensitive) name match so a partial name can't destroy the wrong item, but it still permanently destroys what it matches. Double-check the name.

See also