@recvchat=n stops the avatar from reading what others say in local chat. Incoming chat is rewritten to ..., except for short, quote-free emotes, which come through truncated. Exceptions can be granted per speaker. @recvchat_sec is the secure variant, which only honors exceptions from the same object.

Syntax

@recvchat=<y|n>
@recvchat_sec=<y|n>
@recvchat:<uuid>=<add|rem>      exception: chat from this speaker is not filtered

Parameters

uuid
The UUID of an avatar or object whose chat should come through unfiltered. It is compared with the chat's source ID (the speaker), not the owner.

Specification

Each incoming local-chat message is filtered when all of these hold:

The filter (crunchEmote with a 20-character limit) produces:

If the debug setting RestrainedLoveShowEllipsis is off, a message reduced to ... is hidden instead.

Caveats

Examples

// Deafen the wearer except for their owner's voice
llOwnerSay("@recvchat=n,recvchat:" + (string)ownerKey + "=add");

// Secure version: exceptions from other objects are ignored
llOwnerSay("@recvchat_sec=n");

Notes

Spec discrepancy: the spec says everything is discarded "except emotes". In the code, emotes go through the same crunchEmote filter that @sendchat uses, so they are cut to the first sentence and 20 characters, and emotes containing quote-like characters become ....

See also

Implementation notes

Client differences

Comparison with RLVa

This command works differently from RLVa's @recvchat; see the comparison.