Difference between revisions of "AdminBot for LSL/Commands/SB SETUP DEVICENAME"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE: SB_SETUP_DEVICENAME}} <onlyinclude>Sets the device name and device creator for your statistics purposes (you will be able to see who is using your device).</on...")
 
Line 2: Line 2:
 
<onlyinclude>Sets the device name and device creator for your statistics purposes (you will be able to see who is using your device).</onlyinclude>
 
<onlyinclude>Sets the device name and device creator for your statistics purposes (you will be able to see who is using your device).</onlyinclude>
  
{{API Variables Table}}
+
{{AdminBot Variables Table|command=SB_SETUP_DEVICENAME}}
  
 
{{AdminBot Required Vars|SB_SETUP_DEVICENAME}}
 
{{AdminBot Required Vars|SB_SETUP_DEVICENAME}}

Revision as of 21:21, 3 May 2017

Sets the device name and device creator for your statistics purposes (you will be able to see who is using your device).

// Command usage:
llMessageLinked(LINK_SET, SB_SETUP_DEVICENAME, string str, key id);


API parameters

llMessageLinked function accepts str and id parameters. Their meaning for SB_SETUP_DEVICENAME is explained below:

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.

  1. 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.
  2. 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, SB_SETUP_DEVICENAME, deviceName, creator);