offerTeleport
From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 18:48, 3 July 2016 by Phil (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Sends a teleport offer to the resident.</onlyinclude> <syntaxhighlight lang="javascript"> Bot.offerTeleport(avatar, message); </...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Sends a teleport offer to the resident.
Bot.offerTeleport(avatar, message);
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
offerTeleport: | |||
avatar | yes | the UUID of the resident | |
message | optional message to send | ||
Output: | |||
Function returns a Promise with the following data: | |||
success | bool | true if command completed successfully | |
error | string | error string if command has failed |
- offerTeleport