Group Messages and Notices

As of the 6th version of Corrade, we decided to add notices and group messages back in - for good this time. Please note that group messages are restricted to 5000 receivers per day by Linden Lab's bot policy. That means that if your group has 100 members and you send one single message or one single notice then you could have consumed 100 from the 5000 message per day quota. It is up to you to make sure you do not exceed that and Wizardry and Steamworks takes no responsibility for violating Linden Lab's policies.

Provided that Corrade (CORRADE) is inside a group GROUP and authenticated with PASSWORD, then the following snippet will send "Good day!" to the group chat:

default {
    state_entry() {
        llInstantMessage(CORRADE, 
            wasKeyValueEncode(
                [
                    "command", "tell",
                    "group", GROUP,
                    "password", PASSWORD,
                    "entity", "group",
                    "message", "Good day!"
                ]
            )
        );
    }
}

Note that CORRADE, GROUP and PASSWORD must be set appropriately.

Notices are similar, they take as additional parameter a subject:

default {
    state_entry() {
        llInstantMessage(CORRADE, 
            wasKeyValueEncode(
                [
                    "command", "notice",
                    "group", GROUP,
                    "password", PASSWORD,
                    "message", "corrade test",
                    "subject", "Good day!"
                ]
            )
        );
    }
}

which will send the notice "corrade test" with the subject "TEST!" to the group GROUP authenticated by password PASSWORD.

Index


secondlife/scripted_agents/corrade/tutorials/group_messsages_and_notices.txt ยท Last modified: 2022/11/24 07:45 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.