Replies with which attachment points currently hold at least one object.
@getattach[:<attachpt>]=<channel>
0 (for "no point", so that string index = ATTACH_* constant), followed by one digit per attachment point in ascending attachment-ID order: 1 if anything is attached there, 0 otherwise. With today's skeleton this covers the body points, HUD points, neck, avatar center and the Bento points. The string is therefore longer than the 41 characters shown in the spec.0 or 1. If the name is unknown, the reply is empty.chest, skull, left shoulder, r upper arm, left ring finger, center 2, and so on. The command line is lowercased anyway.avatar center and root. CoolVL accepts only root (see Client differences).llGetSubString(reply, ATTACH_LHAND, ATTACH_LHAND) to read one point from the full string.// listen() handler for "@getattach="
if (llGetSubString(msg, ATTACH_NECK, ATTACH_NECK) == "1")
llOwnerSay("Something is worn on the neck.");
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.
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.
No significant differences from RLVa's @getattach.