Replies with which attachment points currently hold at least one object.

Syntax

@getattach[:<attachpt>]=<channel>

Return value

Caveats

Examples

// listen() handler for "@getattach="
if (llGetSubString(msg, ATTACH_NECK, ATTACH_NECK) == "1")
    llOwnerSay("Something is worn on the neck.");

See also

Implementation notes

getAttachments() RRInterface.cpp 2578-2604 iterates mAttachmentPoints, a std::map<S32, …> keyed by attachment ID (llvoavatar.h 1054-1055), so the order follows IDs. Each name is lowercased and compared with the option. The root alias is handled at 2596.

Client differences

CoolVL (mkrlinterface.cpp 3126-3165) renames "Avatar Center" to "Root" before comparing, so @getattach:root works but @getattach:avatar center returns an empty reply. In Marine's viewer both work. The full string is otherwise the same, subject to each viewer's skeleton definition.

Comparison with RLVa

No significant differences from RLVa's @getattach.