Resolve a List of Avatar Names to Keys

30 April 2027

  • Release 9.163 - added.
batchavatarnametokey (Commands)
TypeCorrade progressive command
Commandbatchavatarnametokey
DescriptionThe batchavatarnametokey command can be used to resolve multiple avatar names to avatar keys.
Permissionsinteract
Parametersgroup, password, avatars
Last ChangesRelease 9.163 - added.

The batchavatarnametokey command can be used to resolve multiple avatar names to avatar keys.

Command Required Parameters Required Corrade Permissions Example
batchavatarkeytoname group, password, avatars inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "batchavatarnametokey",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // resolve the following avatar keys
            "avatars", wasListToCSV(
                [
                    "Sleepy Resident",
                    "CoroBoro Resident",
                    "Swijen Norris"
                ]
            ),
            // send the results to this URL
            "callback", wasURLEscape(URL)
        ]
    )
);

The command will returns a CSV list of avatar 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