From SmartBots Developers Docs
|
|
Line 1: |
Line 1: |
− | {{DISPLAYTITLE:BOT_GROUP_INVITE}}
| |
− | <onlyinclude>Commands bot to invite a resident to a group</onlyinclude>
| |
| | | |
− | {{API Variables Table}}
| |
− |
| |
− | {{AdminBot Required Vars|BOT_TOUCH_OBJECT}}
| |
− | {{API Variable|str|yes}} uuid of group and role in the format: "groupUUID\nroleUUID"
| |
− | {{API Variable|id|yes}} uuid of resident to invite
| |
− |
| |
− | {{API Variables Table End}}
| |
− |
| |
− | == Example ==
| |
− |
| |
− | <syntaxhighlight lang="lsl">
| |
− | // Invites specified resident to Everyone role
| |
− | llMessageLinked(LINK_SET, BOT_GROUP_INVITE, "uuid of group" + "\n" + NULL_KEY, "uuid of person you are inviting");
| |
− | </syntaxhighlight>
| |
− |
| |
− | {{AdminBot for Bots Commands - standard footer}}
| |
− |
| |
− | {{NavMenu}}
| |
− |
| |
− | __NOTOC__
| |
Latest revision as of 20:41, 26 May 2017