Resolve a List of Group Names to Keys

3 December 2021

  • C11 - added.
batchgroupnametokey (Commands)
TypeCorrade progressive command
Commandbatchgroupnametokey
DescriptionThe batchgroupnametokey command can be used to resolve multiple group names to group keys.
Permissionsinteract
Parametersgroup, password, groups
Last ChangesC11 - added.

The batchgroupnametokey command can be used to resolve multiple group names to group keys.

Command Required Parameters Required Corrade Permissions Example
batchgroupnametokey group, password, groups inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "batchgroupnametokey",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // resolve the following group keys
            "groups", wasListToCSV(
                [
                    "[Wizardry and Steamworks]:Announce",
                    "[Wizardry and Steamworks]:Support",
                    wasURLEscape("Chocolate & Milk")
                ]
            ),
            // send the results to this URL
            "callback", wasURLEscape(URL)
        ]
    )
);

The command will returns a CSV list of group names by keys - it is not guaranteed that a name could be resolved, in which case, the results will not contain the name and the resolved key.

Notes

  • If you want to resolve group keys to names, you can use the reverse command batchgroupkeytoname.

secondlife/scripted_agents/corrade/api/commands/batchgroupnametokey.txt ยท Last modified: 2022/04/19 09:28 (external edit)

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


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