Get Friend Data

getfrienddata (Commands)
TypeCorrade progressive command
Commandgetfrienddata
DescriptionThe getfrienddata command can be used to retrieve field and property values from the FriendInfo structure for an avatar specified by firstname and lastname that is currently a friend in the bot's friends list.
Permissionsfriendship
Parametersgroup, password, firstname, lastname (or agent by UUID), data
Last Changesnone

The getfrienddata command can be used to retrieve field and property values from the FriendInfo structure for an avatar specified by firstname and lastname that is currently a friend in the bot's friends list.

Command Required Parameters Required Corrade Permissions Example
getfrienddata group, password, firstname, lastname (or agent by UUID), data friendship
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // get the online status
            // and UUID of a friend
            "command", "getfrienddata",
            "group", wasURLEscape(GROUP),
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Stuart",
            "lastname", "Little",
            "data", wasListToCSV(
                [
                    "IsOnline",
                    "UUID"
                ]
            ),
            "password", wasURLEscape(PASSWORD),
            "callback", wasURLEscape(URL)
        ]
    )
);