// Use /m on notecard to mute default messages

default {
    link_message(integer sender_number, integer NumberOfAvatars, string message, key AvatarKey) {
        if (sender_number != llGetLinkNumber()) return; // Parse only messages coming from this prim
        if (message == "sitmessage") llInstantMessage(AvatarKey, "Welcome " + llKey2Name(AvatarKey) + "!" );
        else if (message == "unsitmessage") llInstantMessage(AvatarKey, "Bye " + llKey2Name(AvatarKey) + "!" );
    }
}