@notify:<channel>[;<filter>]=add asks RLVa to say a line on channel whenever a restriction is added or removed by any object, and when certain outfit, attachment, sitting and inventory events happen. An optional filter limits notifications to those whose text contains it.

Syntax

@notify:<channel>[;<filter>]=<add|n>     start notifications
@notify:<channel>[;<filter>]=<rem|y>     stop them (same channel and filter)

Parameters

channel
Required positive integer, not DEBUG_CHANNEL. Channel 0 is refused.
filter
Optional substring, matched case-insensitively against the first part of each notification (see below). At most one ;: a third field makes the option invalid.

Return value

Notifications are chat lines (shouted, so heard 100 m away; truncated at 1023 bytes) beginning with /:

EventText
A restriction added/removed by a script/<behaviour>[:<option>]=<param>, with param exactly as sent (n, add, y or rem)
@clear from a script/clear or /clear:<filter>
Attachment events/attached legally|illegally <point>, /detached legally|illegally <point>, /reattached legally <point>
Clothing/body parts/worn legally <layer>, /unworn legally <layer>
Sitting/sat object legally|illegally <uuid>, /sat ground ..., /unsat object ... <uuid>, /unsat ground ...
#RLV give-to-folder offers/accepted_in_rlv inv_offer <path>, /accepted_in_inv inv_offer <name>, /declined inv_offer <name>

For restriction notifications the filter is applied only to <behaviour>[:<option>], not to the =<param> suffix.

Caveats

Examples

integer CH = 9393;
default
{
    state_entry()
    {
        llListen(CH, "", llGetOwner(), "");
        llOwnerSay("@notify:" + (string)CH + ";detach=add");
    }
    listen(integer c, string n, key id, string msg)
    {
        llOwnerSay("RLV event: " + msg); // e.g. "/detach:spine=n" or "/detached legally Skull"
    }
}

Implementation notes

See also

Comparison with RLV

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