Wear an Item from Inventory
wear (Commands) |
Type | Corrade progressive command |
Command | wear |
Description | The wear command is given a CSV list of wearables by name and the bot will wear them. |
Permissions | grooming |
Parameters | group , password , wearables |
Last Changes | Release 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.
-