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.

Notes

  • Please note that SecondLife terminology distinguishes between "wearables" and "attachments" where "wearables" are clothing items and body parts such as "Skirt, Shirt, Undershirt, Skin, Shape…" and "attachments" are objects. In case you are looking to attach and object, then please use the attach command.
  • If you are looking to change the entire appearance of the bot, as in, changing an outfit, then please use the changeappearance command.

secondlife/scripted_agents/corrade/api/commands/wear.txt · Last modified: 2020/09/04 06:44 (external edit)

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


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