Difference between revisions of "TotalControl for LSL/Commands/BOT STATUS QUERY"
From SmartBots Developers Docs
m (Gg moved page TotalControl LSL/Commands/BOT STATUS QUERY to TotalControl for LSL/Commands/BOT STATUS QUERY) |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:BOT_STATUS_QUERY}} | {{DISPLAYTITLE:BOT_STATUS_QUERY}} | ||
− | <onlyinclude>Queries the AdminBot-selected bot status (useful to determine the subscription length).</onlyinclude> Result is being returned using [[AdminBot for | + | <onlyinclude>Queries the AdminBot-selected bot status (useful to determine the subscription length).</onlyinclude> Result is being returned using [[AdminBot for LSL/Events/BOT_EVENT_STATUS_REPLY|BOT_EVENT_STATUS_REPLY]] event |
<syntaxhighlight lang="lsl"> | <syntaxhighlight lang="lsl"> |
Revision as of 13:26, 12 May 2017
Queries the AdminBot-selected bot status (useful to determine the subscription length). Result is being returned using BOT_EVENT_STATUS_REPLY event
llMessageLinked(LINK_SET,BOT_STATUS_QUERY,"","");
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 BOT_EVENT_STATUS_REPLY event:
link_message( integer sender, integer num, string str, key id )
| |||
sender | link number of a sender prim | ||
num | BOT_EVENT_STATUS_REPLY | ||
str | first line - bot status code (see all codes here)
second line - bot expiration date | ||
id | Bot UUID |