@recvim=n stops the user from reading instant messages. Blocked one-to-one IMs are replaced by a "blocked" notice, and the sender receives an automatic busy-style reply saying the message was not received. Exceptions name avatars (or groups) whose IMs still get through; a distance option lets IMs through from avatars standing within a given range.
@recvim=<n|add> block incoming IMs
@recvim=<y|rem>
@recvim:<uuid>=<add|rem> exception for an avatar or group
@recvim:<min>[;<max>]=<n|y> block, except from avatars between min and max metres away
@recvim_sec=<n|y> strict form
@recvim:20=n is reference-counted, so on its own it blocks IMs from everyone outside the window, i.e. further than 20 m, off-region, or offline. Remove it with the same option and =y.rlvCheckAvatarIMDistance): the window only applies once a minimum is set. An IM passes if min <= distance <= max and min < max; without a max, the upper bound is unlimited. Avatars not found in the viewer's world (other regions out of range) count as infinitely far. With several objects, the largest minimum and the smallest maximum win._sec form or @permissive applies. Objects that only hold the distance form do not count towards the strict check.// Only people in the same room (within 10 m) can IM
llOwnerSay("@recvim:0;10=n");
// No IMs except from the keyholder
llOwnerSay("@recvim=n,recvim:" + (string)keyholder + "=add");
rlvhelper.cpp 127-129 with RlvBehaviourRecvSendStartIMHandler and two modifiers (min uses CompMax, max uses CompMin). The handler (rlvhandler.cpp 2224-2276) first tries the UUID form, then the distance list, storing squared distances.RlvActions::canReceiveIM and the distance helper: rlvactions.cpp 152-181.llimprocessing.cpp 975-990 (autoresponse), 1160-1172 (block and busy reply), 2088-2100 (dialog censoring); llimview.cpp 4749 and 5069-5081 (group/conference); llviewermessage.cpp 6161-6192.This command works differently from RLV's @recvim; see the comparison.