Get Profile Data for Multiple Specified Avatars

18 March 2017

  • Corrade 9.160 - added.
batchgetprofiledata (Commands)
TypeCorrade progressive command
Commandbatchgetprofiledata
DescriptionThe batchgetprofiledata retrieves profile information for all specified avatars.
Permissionsinteract
Parametersgroup, password, data
Last ChangesCorrade 9.160 - added.

The batchgetprofiledata retrieves profile information for all specified avatars.

Command Required Parameters Required Corrade Permissions Example
batchgetprofiledata group, password, data, avatars interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // retrieve the BornOn date
            // and rating for all given
            // avatars
            "command", "batchgetprofiledata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "avatars", wasListToCSV(
                [
                    // Avatar by name
                    "Corrade Resident",
                    // Another avatar by UUID
                    "d726edfb-a1c4-4499-8c01-2746227b55e5"
                ]
            ),
            "data", wasListToCSV(
                [
                    "MaturePublish",
                    "BornOn"
                ]
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);

The data parameter follows the AvatarProperties libopenmetaverse structure and sub-structures.

The SkillsMask and the SkillsText are special - please see the singular form getprofiledata for a tutorial on how to process the bitfields using the wasSetBitFlags function.

Notes