@sendchannel=n is the counterpart of @sendchat for non-public channels: the user can't send anything on any channel other than 0, except channels granted as exceptions. @sendchannel_sec is the secure variant, which only honors exceptions from the same object.

Syntax

@sendchannel=<y|n>
@sendchannel_sec=<y|n>
@sendchannel:<channel>=<add|rem>     exception: this channel stays usable

Parameters

channel
A channel number. It is compared as the decimal string the viewer formats, so write it without leading zeros or a plus sign (-42, not +42 or 042).

Specification

A message on a non-zero channel (positive or negative) is silently dropped when @sendchannel applies to that channel after exceptions, or when @sendchannel_except names it. This covers:

RLV's own automatic replies (@version=<ch>, @getstatus=<ch>, @notify reports, …) are not affected.

Caveats

Examples

// Only the collar's own menu channel is allowed
llOwnerSay("@sendchannel=n,sendchannel:" + (string)MENU_CH + "=add");

See also

Implementation notes

Client differences

The same checks are in CoolVL (llchatbar.cpp:1014-1018, 1294-1295, and the redirect loop at 159-162). CoolVL has no app/chat SLurl check and no login-time startup restrictions. Whether CoolVL's SLurl chat handler bypasses @sendchannel wasn't checked.

Comparison with RLVa

No significant differences from RLVa's @sendchannel.