Difference between revisions of "TotalControl for LSL/Commands/BOT STATUS QUERY"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:BOT_STATUS_QUERY}} <onlyinclude>Queries the AdminBot-selected bot status (useful to determine the subscription length).</onlyinclude> Result is being returned...")
 
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>
+
<onlyinclude>Queries the AdminBot-selected bot status (useful to determine the subscription length).</onlyinclude> Result is being returned using [[AdminBot for Bots/Events/BOT_EVENT_STATUS_REPLY|BOT_EVENT_STATUS_REPLY]] event
Result is being returned using [[AdminBot for Bots/Events/BOT_EVENT_STATUS_REPLY|BOT_EVENT_STATUS_REPLY]] event
+
 
 
<syntaxhighlight lang="lsl">
 
<syntaxhighlight lang="lsl">
 
llMessageLinked(LINK_SET,BOT_STATUS_QUERY,"","");
 
llMessageLinked(LINK_SET,BOT_STATUS_QUERY,"","");

Revision as of 20:49, 6 July 2016

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 name of the Bot
id yes Access Code

Result

One of the following events will be generated: