<- Back to command sections

Inventory

Inventory controls for sending items and so on


CommandAbout
SetInventoryUpdateAttachs an event for inventory changes
UploadMediaWaveUploads a new sound file to inventory
RezObjectrezs the item at the bots current location
RenameInventoryrenames a folder or inventory item
DeleteInventoryItemAttempts to Remove the given inventory item
DeleteInventoryFolderAttempts to Remove the given inventory folder
AttachAttempts to attach the given inventory item
DetachAttempts to Detach the given inventory item (or attachment point)
SwapOutfitReplaces the current avatar outfit with the contents of the given folder
OutfitReplaces the current avatar outfit with the Clothing/[NAME] folder
Please note: This does not use the outfits folder!
Please do not use links in the folder!
InventoryPurgeNotecardsSearchs the notecards folder for notecards, any older than 31 days are deleted.
Depending on the number of notecards this might require multiple calls!
GetRealUUIDconverts a inventory uuid to a realworld uuid
Needed for texture preview
SendItemByPathsends a item to an avatar via a path
SendItemsends a item to an avatar
SendItemDirectsends a item to an avatar with extra steps to bypass inventory searchs
SendFolderByPathSends a folder to an avatar
SendFolderSends a folder to an avatar
TransferInventoryToObjectTransfers a item [ARG 2] to a objects inventory [ARG 1] (And if set with the script running state [ARG 3])
InventoryFoldersRequests the inventory folder layout as a json object InventoryMapFolder
Formated as follows
InventoryMapItem
  • id: UUID
  • name: String
  • subfolders: InventoryMapFolder[]
InventoryFoldersLimitedRequests folders limited to selected folder
InventoryContentsRequests the contents of a folder as an array of InventoryMapItem
Formated as follows
InventoryMapItem
  • id: UUID
  • name: String
  • typename: String
CreateInventoryFoldercreates a folder in a folder
MoveInventoryItemmoves an item to another folder
MoveInventoryFoldermoves a folder to another folder