SB_GROUP_CHECKED

From SmartBots Developers Docs
AdminBot for LSLEvents
Revision as of 11:43, 3 November 2017 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE: SB_GROUP_CHECKED}} <onlyinclude>The reply of the SB_AVATAR_GROUP command.</onlyinclude> {{AdminBot Event Vari...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The reply of the SB_AVATAR_GROUP command.

// Event usage:
link_message(integer sender, integer cmd, string data, key id) {

    if(cmd == SB_GROUP_CHECKED) {
        llOwnerSay("Event " + cmd + " arrived! Data:\n" + data);     }
}

Event parameters

link_message event receives cmd, str and id parameters. Their meaning for SB_GROUP_CHECKED event is explained below:

Variable Type Description
cmd integer the SB_GROUP_CHECKED's numeric ID
data string 0 - avatar is not in the group
1 - avatar is in the group
id key avatar UUID