Get Inventory Path

6 January 2015

  • Release 7.40 - added.
getinventorypath (Commands)
TypeCorrade progressive command
Commandgetinventorypath
DescriptionThe getinventorypath command can be used to retrieve full path names for inventory items by searching for a criteria.
Permissionsinventory
Parametersgroup, password, pattern
Last ChangesRelease 7.40 - added.

The getinventorypath command can be used to retrieve full path names for inventory items by searching for a criteria.

Command Required Parameters Required Corrade Permissions Example
getinventorypath group, password, pattern inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // lists all item full paths in the
            // inventory that match the given pattern
            "command", "getinventorypath",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "pattern", wasURLEscape("Shoe+?"),
            "callback", wasURLEscape(URL)
        ]
    )
);

The pattern parameter is fed a regular expression that can match part or whole asset names.


secondlife/scripted_agents/corrade/api/progressive/commands/getinventorypath.txt ยท Last modified: 2017/02/22 18:27 (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.