Wear an Item from Inventory

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.
wear (Commands)
TypeCorrade progressive command
Commandwear
DescriptionThe wear command is given a CSV list of wearables by name and the bot will wear them.
Permissionsgrooming
Parametersgroup, password, wearables
Last ChangesRelease 9.133 - The command now can take a path instead of a name.

The wear command is given a CSV list of wearables by name and the bot will wear them.

Command Required Parameters Required Corrade Permissions Example
wear group, password, wearables grooming
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // wear "Dragon Tattoo"
            // from inventory
            "command", "wear",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "wearables", wasListToCSV(
                [
                    "/My Inventory/Clothing/Dragon Tattoo"
                ]
            )
        ]
    )
);
Optional Parameter Possible Value Description
replace true Replace with the new item.
false Add the new item.

secondlife/scripted_agents/corrade/api/progressive/commands/wear.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.