Difference between revisions of "TotalControl for LSL/Commands/BOT SETUP DEVICENAME"
From SmartBots Developers Docs
(No difference)
|
Revision as of 13:08, 12 May 2017
Sets the device name and device creator for your statistics purposes (you will be able to see who is using your device).
Variables
The following table shows input values (you send them with the API call) and returned output values.
Variable | Required | Description
| |
---|---|---|---|
str | yes | device name (given by the creator) | |
id | yes | creator avatar's UUID |
Comments
This command is to set the device name for your statistics purposes (you will be able to see who is using your device).
The list of devices is being displayed in "Developer" menu at SmartBots account.
- We advice to put version number along with the device name. This will allow you to see all residents using old and outdated devices, and contact them.
- The author's UUID is required to show your all active devices to the author.
Example
string deviceName="My Device v1.0";
key creator=llGetCreator();
llMessageLinked(LINK_SET, BOT_SETUP_DEVICENAME, deviceName, creator);