@startim=n stops the user from opening new IM sessions with avatars or groups. Sessions that are already open can still be used (subject to @sendim). Exceptions can be granted by key, and a distance option allows starting IMs with avatars within a given range.
@startim=<n|y>
@startim:<uuid>=<n|y> exception for an avatar or group
@startim:<dist_min>[;<dist_max>]=<n|y> allow avatars within the range
@startim_sec[...]=<n|y> strict version
;. The option is tried as a range only if it fails to parse as a UUID. Unlike an exception, a range command is reference counted: @startim:5=n on its own restricts starting IMs with everyone farther than 5 m.min ≤ distance ≤ max and min < max. Values are stored squared. Across objects, the largest minimum and the smallest maximum win. Without a maximum, the maximum is infinite. Avatars the viewer can't locate (not in a known region) count as infinitely far away, so with only a minimum set, off-region avatars can be IMed, but with a maximum set they can't. The range check applies only to avatars; groups have no position and always fall outside it.canStartIM returns true if a P2P or group session with the target exists, except where the caller passes fIgnoreOpen (only the @stopim IM query does).@startim_sec, an exception counts only if every object holding the strict restriction has added it. With @permissive, every object holding @startim must have added it.// No new IMs, except with the keyholder and anyone within 10 m
key keyholder = "01234567-89ab-cdef-0123-456789abcdef";
llOwnerSay("@startim=n");
llOwnerSay("@startim:" + (string)keyholder + "=n");
llOwnerSay("@startim:0;10=n");
@stopim. If the user isn't allowed to start an IM with that sender (ignoring open sessions), RLVa replies with a busy message and closes any open session with them.rlvhelper.cpp 168 – RlvBehaviourProcessor<RLV_BHVR_STARTIM, RlvBehaviourRecvSendStartIMHandler>("startim", BHVR_STRICT); modifiers at 169-170 (min uses CompMax, max uses CompMin).rlvhandler.cpp 2224-2276. It tries RLV_OPTION_NONE_OR_EXCEPTION first; on failure with an option it parses min[;max], squares the values and adds or removes them from the modifiers.RlvActions::canStartIM, rlvactions.cpp 215-226; range helper rlvCheckAvatarIMDistance, 150-170.@stopim IM query: rlvhandler.cpp 650-664.This command works differently from RLV's @startim; see the comparison.