Overview

Provides a command-line interface to inventory management.

Example Profiles

  • aaset.utl
    • Hands exactly one set of Ancient Armor
    • example: /ub ig aaset.utl to Zero Cool
  • Kreavon.utl
    • Hands all Gem type salvage in your inventory, for the Town Founder Quest.
    • example: /ub ig Kreavon.utl to Kreavon
  • [Caelis Renning.utl](/utl/Caelis Renning.utl)
    • Hands all metal/wood type salvage in your inventory, for the Town Founder Quest.
    • example: /ub ig Caelis Renning.utl to Caelis Renning
  • [Aun Teverea.utl](/utl/Aun Teverea.utl)
    • Hands all cloth type salvage in your inventory, for the Town Founder Quest.
    • example: ub ig Aun Teverea.utl to Aun Teverea

Commands

/ub give[p{P|r}] [itemCount] <itemName> to <target>

Gives items matching the provided name to a player.

Examples:

  •  /ub givep 10 Prismatic to Zero Cool - Gives 10 items partially matching the name “Prismatic” to Zero Cool
  •  /ub giveP 10 Prismatic Tapers to Zero - Gives 10 Prismatic Tapers to a character with a name partially matching “Zero”
  •  /ub give Hero Token to Zero Cool - Gives all Hero Tokens to Zero Cool
  •  /ub giver Hero.* to Zero Cool - Gives all items matching the regex “Hero.*” to Zero Cool

/ub ig[p] <lootProfile> to <target>

Gives items matching the provided loot profile to a player.

Examples:

  •  /ub ig muledItems.utl to Zero Cool - Gives all items matching Keep rules in muledItems.utl to Zero Cool
  •  /ub igp muledItems.utl to Zero - Gives all items matching Keep rules in muledItems.utl to a character partially matching the name Zero

/ub autostack

Auto Stack your inventory

/ub autocram

Auto Cram into side packs

/ub unstack

Unstack olive the things

/ub clearbugged

ID everything in your inventory, and remove bugged items

Settings

InventoryManager.AutoCram

Default Value: False
Automatically cram items into side packs

InventoryManager.AutoStack

Default Value: False
Automatically combine stacked items

InventoryManager.IGThink

Default Value: False
Think to yourself when ItemGiver Finishes

InventoryManager.IGFailure

Default Value: 3
Item Failure Count to fail ItemGiver

InventoryManager.IGBusyCount

Default Value: 10
Busy Count to fail ItemGiver give

InventoryManager.IGRange

Default Value: 15
Maximum Range for ItemGiver commands

InventoryManager.IGUIEnabled

Default Value: True
Enable the ItemGiver UI window

InventoryManager.IGWindowX

Default Value: 250
ItemGiver window X position

InventoryManager.IGWindowY

Default Value: 250
ItemGiver window Y position

InventoryManager.TreatStackAsSingleItem

Default Value: True
Treat stacks as single item

InventoryManager.WatchLootProfile

Default Value: False
Watch VTank Loot Profile for changes, and reload

Expression Methods

getitemcountininventorybyname

Counts how many items you have in your inventory exactly matching name. Stack sizes are counted

Parameters:

  • Param #0: name (string) - Exact item name to match

Returns: number - Returns a count of the number of items found. stack size is counted

Examples:

  •  getitemcountininventorybyname[Prismatic Taper] - Returns total count of prismatic tapers in your inventory

getitemcountininventorybynamerx

Counts how many items you have in your inventory matching regex namerx. Stack sizes are counted

Parameters:

  • Param #0: namerx (string) - Regex item name to match

Returns: number - Returns a count of the number of items found. stack size is counted

Examples:

  •  getitemcountininventorybynamerx[Scarab] - Returns total count of scarabs in your inventory

wobjectgetspellids

Returns a list of spells on a World Object.

Parameters:

  • Param #0: obj (WorldObject) - World object to get spells of

Returns: List - List of spell IDs

Examples:

  •  wobjectgetspellids[wobjectgetselection[]] - Returns a list of spell IDs of the selected item

wobjectgetactivespellids

Returns a list of active spells on a World Object.

Parameters:

  • Param #0: obj (WorldObject) - World object to get spells of

Returns: List - List of spell IDs

Examples:

  •  wobjectgetactivespellids[wobjectgetselection[]] - Returns a list of active spell IDs of the selected item

getinventorycountbytemplatetype

Counts how many items you have in your inventory of a certain template type. Stack sizes are counted

Parameters:

  • Param #0: templatetype (number) - templatetype to filter by

Returns: number - Returns a count of the number of items found. stack size is counted

Examples:

  •  getinventorycountbytemplatetype[42137] - Returns total count of inventory items with templaye type 42137 (level 10 ice tachi warden)

actiontrygiveprofile

Gives all items matching the specified loot profile to a character or npc

Parameters:

  • Param #0: lootprofile (string) - loot profile to give
  • Param #1: target (string) - target npc/player name to give to

Returns: number - Returns 1 if an attempt was made, 0 if it was not (busy)

Examples:

  •  actiontrygiveprofile[salvage\.utl,My Salvage Mule] - Gives all items matching loot profile salvage.utl to a character named My Salvage Mule