Difference between revisions of "TotalControl for LSL/Commands/BOT GROUP JOIN"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:BOT_GROUP_JOIN}} <onlyinclude>Commands bot to join the specified group</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|BOT_GROUP_JOIN}} {{API V...")
 
 
Line 5: Line 5:
  
 
{{AdminBot Required Vars|BOT_GROUP_JOIN}}
 
{{AdminBot Required Vars|BOT_GROUP_JOIN}}
{{API Variable|str|yes}} uuid of group to join
+
{{API Variable|str|yes}} --
{{API Variable|id|yes}} --
+
{{API Variable|id|yes}} uuid of group to join
  
 
{{API Variables Table End}}
 
{{API Variables Table End}}
Line 16: Line 16:
  
 
<syntaxhighlight lang="lsl">
 
<syntaxhighlight lang="lsl">
llMessageLinked(LINK_SET, BOT_GROUP_JOIN, "group uuid goes here", "");
+
llMessageLinked(LINK_SET, BOT_GROUP_JOIN, "", "group uuid goes here");
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Latest revision as of 10:16, 4 March 2019

Commands bot to join the specified group

Variables

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

Variable Required Description


str yes --
id yes uuid of group to join

Comments

The group must have open enrollment enabled for the bot to join the group successfully

Example

llMessageLinked(LINK_SET, BOT_GROUP_JOIN, "", "group uuid goes here");