From SmartBots Developers Docs
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