Reply to an Inventory Offer

9 November 2016

  • Release 9.143 - added ignore and purge to the list of possible actions.

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.
replytoinventoryoffer (Commands)
TypeCorrade progressive command
Commandreplytoinventoryoffer
DescriptionThe replytoinventoryoffer command can be used to reply to an inventory offer provided that the session UUID is known (for example, by installing the inventory notification using the notify command).
Permissionsinventory
Parametersgroup, password, action
Last ChangesRelease 9.143 - added ignore and purge to the list of possible actions.

The replytoinventoryoffer command can be used to reply to an inventory offer provided that the session UUID is known (for example, by installing the inventory notification using the notify command).

Command Required Parameters Required Corrade Permissions Example
replytoinventoryoffer group, password, action inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // accept an inventory offer
            "command", "replytoinventoryoffer",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "action", "accept", // decline, ignore or purge
            // can be retrieved from the inventory notification
            "session", "41f8742f-0099-47d4-91b5-d5833500ac08",
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Required Parameter Possible Value Optional Parameter Possible Value Description
action accept session The inventory offer session UUID. folder The inventory UUID of a folder or a path to a folder where the inventory item should be stored. Accept an inventory offer and optionally places the asset in the specified folder instead of the default folder for the given asset type.
decline Decline an inventory offer.
ignore Ignore an inventory offer by neither accepting nor declining the inventory offer.
purge Purge all tracked inventory offers.

Notes

Note that if items are sent to Corrade by a master specified in Corrade.ini, Corrade will always accept the item. In order to receive items from non-registered masters, the notify command can be used to install an inventory notification and, when receiving that notification, the replytoinventoryoffer command can be used to accept or decline the offered inventory item. Alternatively, the getinventoryoffers command can be used to retrieve the full list of pending inventory offers and to reply to them.


secondlife/scripted_agents/corrade/api/progressive/commands/replytoinventoryoffer.txt ยท Last modified: 2017/02/22 18:28 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.