@touchattach=n stops the user from touching attachments worn on avatar bodies: both their own and other people's. HUD attachments are not affected (see @touchhud). Its exceptions also serve as the exceptions for @touchattachself and @touchattachother.

Syntax

@touchattach=<n|y>
@touchattach:<uuid>=<n|y>     add/remove an exception

Parameters

uuid (optional)
For the user's own attachments: the root prim key of an attachment that stays touchable. For other avatars' attachments: either the attachment's root prim key, or the avatar's key, which exempts everything that avatar wears. Exceptions are not reference counted.

Caveats

Examples

// Can't touch attachments, except those worn by the keyholder
key keyholder = "01234567-89ab-cdef-0123-456789abcdef";
llOwnerSay("@touchattach=n");
llOwnerSay("@touchattach:" + (string)keyholder + "=n");

See also

Implementation notes

Comparison with RLV

This command works differently from RLV's @touchattach; see the comparison.