10 Auguest 2016

5 June 2016

21 May 2016

The tell command can be used to make Corrade talk in local chat, in a group, send an instant message to an avatar or to a conference.

CommandRequired ParametersRequired Corrade PermissionsRequired Group AbilitiesExample
tellgroup, password, entitytalkWhen talking in group: Chat→Join Group Chat
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "tell",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "message", "Good day!",
            "entity", "local",
            "type", "Normal"
        ]
    )
);
ParametersSub-ParametersSub-ParametersPossible ValuesSub-ParametersDescriptionExample
entitylocaltypeChatTypechannelSends the message on the specified channel (if the channel is not specified, then channel 0 is assumed).
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "tell",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "message", "Good day!",
            "entity", "local",
            "type", "Normal"
        ]
    )
);
grouptargetA group name or UUID.Send to the configured group or a group specified by target.
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "tell",
            // Use GROUP for authentication,
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "message", "Hello group members!",
            // and send the message to "A different group"
            "target", "A different group",
            "entity", "group"
        ]
    )
);
avatarfirstname, lastname (or agent for agent by UUID)Sends the message to an avatar.
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // send a start-typing message to an avatar
            "command", "tell",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "agent", "0fe3acf3-1526-4b72-a86d-98694932723b",
            "entity", "avatar",
            "dialog", "StartTyping",
            "callback", wasURLEscape(URL)
        ]
    )
);
dialogInstantMessageDialogAn extra instant message dialog type.
onlineInstantMessageOnlineIndicating if the message will be set to only online avatars.
sessionA session UUID.Whether to send the message to a specific session UUID.
estateSend the message to the current estate.
regionSend the message to the current region.
conferencesessionA conference session UUID (for instance, previously retrieved with the conference command).Send a message to a conference.
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Send a message to a conference.
            "command", "tell",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "entity", "conference",
            "session", "fea700a9-6776-16a4-b9cf-c9e755d8b168",
            "message", "Hello!",
            "callback", wasURLEscape(URL)
        ]
    )
);

Notes