SB_SETUP_FAILED

From SmartBots Developers Docs
AdminBot for LSLEvents
Revision as of 11:40, 3 November 2017 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE: SB_SETUP_FAILED}} <onlyinclude>Raised when there was an error setting the group (group does not exist, expired etc)</onlyinclude> {{AdminBot Event Variables T...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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