Talking

Corrade can be made to talk either on local chat, a region-wide say or in a group. For example to send the message Good day! to a configured group, you would issue:

        llInstantMessage(CORRADE, 
            wasKeyValueEncode(
                [
                    "command", "tell",
                    "group", wasURLEscape(GROUP),
                    "password", PASSWORD,
                    "entity", "group",
                    "message", "Hello!",
                    "callback", wasURLEscape(URL)
                ]
            )
        );

You can also make Corrade talk on local chat:

        llInstantMessage(CORRADE, 
            wasKeyValueEncode(
                [
                    "command", "tell",
                    "group", wasURLEscape(GROUP),
                    "password", PASSWORD,
                    "entity", "local",
                    "message", "Hello!",
                    "callback", wasURLEscape(URL)
                ]
            )
        );

or whisper, by specifying type:

        llInstantMessage(CORRADE, 
            wasKeyValueEncode(
                [
                    "command", "tell",
                    "group", wasURLEscape(GROUP),
                    "password", PASSWORD,
                    "entity", "local",
                    "type", "whisper",
                    "message", "Hello!",
                    "callback", wasURLEscape(URL)
                ]
            )
        );

or perhaps shout on channel 10:

        llInstantMessage(CORRADE, 
            wasKeyValueEncode(
                [
                    "command", "tell",
                    "group", wasURLEscape(GROUP),
                    "password", PASSWORD,
                    "entity", "local",
                    "type", "shout",
                    "channel", 10,
                    "message", "Hello!",
                    "callback", wasURLEscape(URL)
                ]
            )
        );

Index