SB_STATUS_REPLY

From SmartBots Developers Docs
AdminBot for LSLEvents
Revision as of 11:42, 3 November 2017 by Gg (Talk | contribs) (Created page with "{{DISPLAYTITLE: SB_STATUS_REPLY}} <onlyinclude>Replies when you request the group status using SB_STATUS_QUERY</onlyinclude>...")

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