@sendim=n stops the user from sending IMs. Instead of the typed text, the recipient (and the user's own IM window) gets a fixed notice, by default *** IM blocked by sender's viewer. Exceptions can be given per avatar or per group chat. @sendim_sec is the secure variant, which only honors exceptions from the same object.
@sendim=<y|n>
@sendim_sec=<y|n>
@sendim:<uuid>=<add|rem>
@sendim:<group_name>=<add|rem>
@sendim:allgroups=<add|rem>
allgroupsIn Marine's viewer:
RestrainedLoveSendimMessage (default *** IM blocked by sender's viewer).@sendim applies to the group name and to allgroups (that is, neither is an exception), or when @sendimto names the group or allgroups.(Hidden). The message attached to a L$ payment is removed.(Hidden) uses containsWithoutException("sendim") with no target, so any @sendim hides the offer text even for excepted avatars. When several avatars are invited at once, one restricted recipient hides the text for all of them.; from the session name; the comma-stripping step is overwritten (bug).llOwnerSay("@sendim=n,sendim:" + (string)ownerKey + "=add,sendim:allgroups=add");
Spec discrepancy: the spec says typed text is "discarded and a bogus message sent". That matches the code. The extra places that are filtered (lure, friendship and teleport-request messages, payment notes, DND response) aren't in the spec.
LLFloaterIMSession::sendMsg (llfloaterimsession.cpp:335-381); teleport request (llavataractions.cpp:550); friendship (1405); pay (llfloaterpay.cpp:598); DND response (llfloaterpreference.cpp:1634); lure (llviewermessage.cpp:6880).sendim_sec is handled by containsWithoutException (RRInterface.cpp:1053-1091).canSendIM/canSendGroupIM (mkrlinterface.cpp:7246-7269). Its group rule is: restricted if @sendim applies to allgroups or to the group name, or if sendimto:allgroups and sendimto:<group> are both present. So in CoolVL a group probably needs both the allgroups and the group-name exception to be writable, the opposite of Marine, where either is enough.canSendGroupIM to incoming group messages (see @recvim).RestrainedLoveSendimMessage per account.This command works differently from RLVa's @sendim; see the comparison.