Get Friend Data

<data Commands> Type: Corrade progressive command Command[wiki]: getfrienddata Description[wiki]: 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. Permissions[wiki]: friendship Parameters[wiki]: group, password, firstname, lastname (or agent by UUID), data Last Changes[wiki]: none </data>

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)
        ]
    )
);