SB_SETUP_FAILED

From SmartBots Developers Docs
Jump to: navigation, search

Raised when there was an error setting the group (group does not exist, expired etc)

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

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

Event parameters

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

Variable Type Description
cmd integer the SB_SETUP_FAILED's numeric ID
data string first line - group status code
second life - group expiration date
id key not used