While @startim=n is in force, the user can't open a new IM session with anyone. Existing sessions keep working. @startim:<uuid>=add adds an exception, so the user can still start an IM with that avatar. There is no limit on the number of exceptions.
@startim=<n|y>
@startim:<uuid>=<add|rem>
startim_sec in either client.@stopim. If the user is under @startim (or @startimto) for that sender, the viewer closes the session and replies "*** Session has been ended for the other party."; otherwise it replies "*** The other party is not under a @startim restriction." This IM command isn't in the spec.llOwnerSay("@startim=n,startim:" + (string)llGetOwner() + "=add");
LLIMMgr::addSession(name, dialog, other_participant_id, voice) returns a null session when containsWithoutException("startim", id) or contains("startimto:"+id) (llimview.cpp:3526-3543). mIgnoreStartIm is set around LLHandlerUtil::spawnIMSession (llnotificationhandlerutil.cpp:224-240).@stopim IM handling: llimprocessing.cpp:646-680.startim=n in its login-blinding set (llstartup.cpp:1905-1920).canStartIM() (mkrlinterface.cpp:7239-7244) in LLIMMgr::addSession, but only when no floater exists yet for that session (llimmgr.cpp:1055-1075). There is no special bypass for notification sessions.@stopim the same way, alongside its extra @list IM command (llimmgr.cpp:1795-1830). Its "not under restriction" reply text differs slightly ("not under @startim restriction").This command works differently from RLVa's @startim; see the comparison.