Difference between revisions of "Bot Playground/Commands/takeoff"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Removes a clothing item, body part or attachment (the opposite of the wear command).</onlyinclude>...") |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:{{SUBPAGENAME}}}} | {{DISPLAYTITLE:{{SUBPAGENAME}}}} | ||
− | <onlyinclude>Removes a clothing item, body part or attachment (the opposite of the [[ | + | <onlyinclude>Removes a clothing item, body part or attachment (the opposite of the [[Bot Playground/Commands/wear|wear]] command).</onlyinclude> |
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> |
Latest revision as of 16:13, 1 July 2016
Removes a clothing item, body part or attachment (the opposite of the wear command).
Bot.takeoff(uuid);
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
takeoff: | |||
uuid | yes | The inventory UUID of the item. Use the Personal Bot Control Panel to get this UUID. | |
Output: | |||
Function returns a Promise with the following data: | |||
success | bool | true if command completed successfully | |
error | string | error string if command has failed |