@getstatusall asks the viewer for the full list of RLV restrictions the avatar is under, regardless of which object issued them. It is the all-objects counterpart of @getstatus, which only lists the restrictions held by the calling object. The viewer replies immediately on the given channel.
@getstatusall[:<part_of_rule>[;<separator>]]=<channel>
tp matches tploc, tplure, sittp and notify:2222;tp./ separator. It is everything after the first ; in the option. An empty separator falls back to /.A string with each restriction preceded by the separator, so a non-empty reply always starts with the separator (for example /fly/sendim/sendim:1234…/tploc). An empty string means no matching restrictions. Each entry is the restriction as stored: the behavior name, plus : and the option if one was given (for example recvim:<uuid> or notify:2222;tp). Because commands are lower-cased before they are stored, every entry is lower case. Entries are listed in the order of the internal map, which is sorted by the issuing object's UUID; restrictions from the same object appear together, but the UUIDs themselves are not included.
llParseString2List handles this, llParseStringKeepNulls gives an empty first element.@getstatusall:;#=2222.ScriptDialogReply and are truncated to 254 (Marine) or 253 (CoolVL) characters. Avatars under many restrictions can easily exceed this; use part_of_rule to narrow the query.llOwnerSay are split before parsing, so a separator cannot be a comma.integer CHAN = 98765;
default
{
state_entry()
{
llListen(CHAN, "", llGetOwner(), "");
llOwnerSay("@getstatusall:tp=" + (string)CHAN);
llSetTimerEvent(30.0); // non-RLV viewers never answer
}
listen(integer c, string n, key id, string msg)
{
list rules = llParseString2List(msg, ["/"], []);
llOwnerSay("Teleport-related restrictions: " + llList2CSV(rules));
llSetTimerEvent(0.0);
}
timer() { llSetTimerEvent(0.0); }
}
A query is not stored as a restriction and is not reported by @notify.
RRInterface::reallyHandleCommand (RRInterface.cpp:1839-1842) handles getstatusall by nulling the caller UUID and calling getStatus. getStatus (2606-2640) iterates over the whole mSpecialObjectBehaviours multimap when the UUID is null and does a substring match (find(rule) != -1) on each entry.; of the option (2611-2619). An empty separator becomes /, with the comment "Prevent a hack to force the avatar to say something".answerOnChat (2396-2451): a channel of 0 is only accepted when the command came from the avatar itself (the Kokua-derived RLV console); for objects it is refused. Positive channels use ChatFromViewer with CHAT_TYPE_SHOUT; negative channels use ScriptDialogReply.STATE_CLEANUP), commands are queued in mRetainedCommands and answered later (1792-1813). Only @version* queries are answered early.No significant differences from RLVa's @getstatusall.