BOT_SETUP_DEVICENAME

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

Description

str

Device name (given by the creator).

id

Creator avatar's UUID.


Comments

This command is used to set the device name for your statistics purposes.
The list of devices appears in the "Developer" menu in your SmartBots account.

  • It is recommended to include a version number in your device name so you can identify outdated devices and contact their users.

  • The creator’s UUID is required to show all active devices belonging to the author.


Example

integer BOT_SETUP_DEVICENAME = 280103;

default
{
	state_entry()
	{
		string deviceName = "My Device v1.0";
		key creator = llGetCreator();
		llMessageLinked(LINK_SET, BOT_SETUP_DEVICENAME, deviceName, creator);
	}
}