From SmartBots Developers Docs
Jump to: navigation, search

Queries the AdminBot-selected group status (useful to determine the subscription length). Result is being returned using SB_STATUS_REPLY event

// Command usage:
llMessageLinked(LINK_SET, SB_STATUS_QUERY, string str, key id);

API parameters

llMessageLinked function accepts str and id parameters. Their meaning for SB_STATUS_QUERY is explained below:

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) {


sender link number of a sender prim
str first line - group status code (see all codes here)

second line - group expiration date

id group UUID