Difference between revisions of "TotalControl for LSL/Events/BOT GROUP INVITE"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE:BOT_GROUP_INVITE}} <onlyinclude>Commands bot to invite a resident to a group</onlyinclude> {{API Variables Table}} {{AdminBot Required Vars|BOT_TOUCH_OBJECT}}...") |
m |
||
Line 13: | Line 13: | ||
<syntaxhighlight lang="lsl"> | <syntaxhighlight lang="lsl"> | ||
− | // Invites specified resident to Everyone | + | // Invites specified resident to Everyone role |
llMessageLinked(LINK_SET, BOT_GROUP_INVITE, "uuid of group" + "\n" + NULL_KEY, "uuid of person you are inviting"); | llMessageLinked(LINK_SET, BOT_GROUP_INVITE, "uuid of group" + "\n" + NULL_KEY, "uuid of person you are inviting"); | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 20:38, 26 May 2017
Commands bot to invite a resident to a group
Variables
The following table shows input values (you send them with the API call) and returned output values.
Variable | Required | Description
| |
---|---|---|---|
str | yes | uuid of group and role in the format: "groupUUID\nroleUUID" | |
id | yes | uuid of resident to invite |
Example
// Invites specified resident to Everyone role
llMessageLinked(LINK_SET, BOT_GROUP_INVITE, "uuid of group" + "\n" + NULL_KEY, "uuid of person you are inviting");