Difference between revisions of "AdminBot for LSL/Commands/SB STATUS QUERY"
From SmartBots Developers Docs
(Created page with "{{DISPLAYTITLE: SB_STATUS_QUERY}} <onlyinclude>Queries the AdminBot-selected group status (useful to determine the subscription length). Result is being returned using dminB...") |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE: SB_STATUS_QUERY}} | {{DISPLAYTITLE: SB_STATUS_QUERY}} | ||
− | <onlyinclude>Queries the AdminBot-selected group status (useful to determine the subscription length). Result is being returned using [[ | + | <onlyinclude>Queries the AdminBot-selected group status (useful to determine the subscription length). Result is being returned using [[AdminBot for Groups/Events|SB_STATUS_REPLY]] event</onlyinclude> |
{{API Variables Table}} | {{API Variables Table}} |
Revision as of 19:47, 29 June 2016
Queries the AdminBot-selected group status (useful to determine the subscription length). Result is being returned using SB_STATUS_REPLY event
Variables
The following table shows input values (you send them with the API call) and returned output values.
Variable | Required | Description
| |
---|---|---|---|
str | yes | -- | |
id | yes | -- |
Return value
The result of this command will be returned to your script using SB_STATUS_QUERY event:
link_message(integer sender, integer num, string str, key id) {
...
}
Where: | |||
sender | link number of a sender prim | ||
num | SB_STATUS_QUERY | ||
str | first line - group status code (see all codes here)
second line - group expiration date | ||
id | group UUID |
<< return back to AdminBot commands