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

  • This command will query data for a given set of avatars and if querying data for all avatars on a region or multiple regions, then getprofiledata, respectively the plural getprofilesdata can be used.

secondlife/scripted_agents/corrade/api/progressive/commands/batchgetprofiledata.txt ยท Last modified: 2017/04/28 18:33 by Wizardry and Steamworks

Access website using Tor


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