SB_STATUS_REPLY

From SmartBots Developers Docs
Jump to: navigation, search

Replies when you request the group status using SB_STATUS_QUERY

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

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

Event parameters

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

Variable Type Description
cmd integer the SB_STATUS_REPLY's numeric ID
data string first line - group status code
second line - group expiration date
id key group UUID