While @shownames=n is in force, the user can't see who is around them. Name tags above avatars aren't drawn. In local chat, object chat, hovertext, IMs from objects and notifications, the names of nearby avatars are replaced with stable "dummy" names such as A resident, That stranger or Someone. The People/Nearby list, radar announcements, profile and inspect actions, and many pie-menu entries are hidden or disabled. Exceptions can make specific avatars' names visible again in chat.
@shownames=<n|y>
@shownames:<uuid>=<add|rem> exception for one avatar
@shownames_sec=<n|y> secure variant: only accepts exceptions from the same object
@shownames_sec:<uuid>=<add|rem>
@shownames is active; excepted avatars are not given their tags back (Marine llvoavatar.cpp:3453-3480). Exceptions affect chat sender names and the text substitutions.@shownames_sec sets the same restriction. For the sender name of avatar chat, Marine uses containsWithoutException, so a _sec restriction only honors exceptions issued by the same object, and @permissive narrows plain exceptions the same way. The other censoring paths (hovertext, object chat, notifications) build one exception list from shownames:, shownames_sec: and shownametags: entries from any object. There, _sec gives no extra protection.shownames" (containsSubstr, RRInterface.cpp:474). An exception @shownames:<uuid>=add on its own, with no @shownames=n, therefore turns on the name-tag hiding and text censoring for everyone except that avatar. CoolVL doesn't have this quirk.// Hide all names except the owner's
key owner = "01234567-89ab-cdef-0123-456789abcdef";
llOwnerSay("@shownames_sec=n,shownames_sec:" + (string)owner + "=add");
mContainsShownames = containsSubstr("shownames") is recomputed on every restriction change (RRInterface.cpp:474). containsSubstr is a prefix match (RRInterface.cpp:896-912), so it matches shownames, shownames_sec and any shownames:.../shownames_sec:... entry. Adding or removing any of these refreshes the speaker list, the People panel and the name tags (RRInterface.cpp:505-527), and refreshes all hovertexts (RRInterface.cpp:1297-1306).getDummyName (RRInterface.cpp:3984-4031) has 28 possible names. getCensoredMessage (RRInterface.cpp:4033-4124) first resolves secondlife:///app/agent/<uuid>/... links to usernames, then substitutes the names of every avatar in gObjectList that isn't in the exception list.containsWithoutException("shownames", uuid) finds an exception.mContainsShownames is set from an exact contains() of whichever of shownames/shownames_sec was just changed (mkrlinterface.cpp:631-640). The exception set mExceptions is rebuilt only when shownames, shownames_sec or shownametags itself is added or removed (mkrlinterface.cpp:740-766). Adding the restriction also hides the active-speakers panel (mkrlinterface.cpp:1390-1395).shownames and shownames_sec in a single flag that is overwritten by whichever one changed last. With both active, removing one turns the restriction off, even though the other is still in force. It comes back on the next change.shownames/shownames_sec/shownametags is next added or removed, because the exception set is only rebuilt then.getCensoredMessage (mkrlinterface.cpp:5030-5085) uses avatars known to gWorld, and also censors the legacy name without the " Resident" suffix. Marine walks gObjectList.This command works differently from RLVa's @shownames; see the comparison.