@sendchannel_except is the inverse of @sendchannel: instead of allowing listed channels, it blocks them. It is part of RLVa's experimental command set and only exists when the viewer setting RLVaExperimentalCommands is enabled (it is dropped from the dictionary at start-up otherwise).

Syntax

@sendchannel_except=<n|y>
@sendchannel_except_sec=<n|y>
@sendchannel_except:<channel>=<add|rem|n|y>

Specification

A channel is blocked when the behavior is held and the channel is in its list:

(!hasBehaviour(SENDCHANNELEXCEPT)) || (!isException(SENDCHANNELEXCEPT, nChannel))

Strict (_sec) form. When a restriction is added with the _sec suffix, RLVa records a strict marker for that behavior. While any strict marker exists (or @permissive is in force), exceptions are checked strictly: an exception only counts if every object holding the restriction strictly (every holder at all, when @permissive=n is set) has also added that same exception. In practice this means exceptions from other objects are ignored. Exceptions are added with the plain name (@sendchannel_except:<x>=add); _sec only makes sense on the option-less form.

Because the list is a block list, strict checking has an odd effect here: with _sec in force a channel is only treated as listed (blocked) when every strict holder lists it.

Examples

// Block /1 and /2 only
llOwnerSay("@sendchannel_except=n,sendchannel_except:1=add,sendchannel_except:2=add");

See also

Implementation notes

Comparison with RLV

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