From SmartBots Developers Docs
Jump to: navigation, search

Teleports bot to specific location.


The following table shows input values (you send them with the API call) and returned output values.

Variable Required Description.
Input basic parameters:
action yes = teleport
apikey yes Your personal developer's API key.
botname yes Your bot's SL login.
secret yes Bot access code of your bot.
custom no The custom data (string) to be passed back to caller script. This value will be returned back to the caller in HTTP response.
location yes address of the new location

Format: Region name/X/Y/Z

Use HOME instead of location to send the bot home (see examples below).

result OK - command completed successfully
FAIL - command failed
resulttext Detailed reason for the failure.
custom The value from input "custom" parameter. See above.


Teleport bot to SmartBots office:


Teleport bot to its home location:


<< return back to Bot commands