The offerfriendship command offers friendship to an avatar specified by firstname and lastname (or agent by UUID).

CommandRequired ParametersRequired Corrade PermissionsExample
offerfriendshipgroup, password, firstname, lastname (or agent by UUID)friendship
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // offer friendship
            // to Big Betty
            "command", "offerfriendship",
            "group", wasURLEscape(GROUP),
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Big",
            "lastname", "Betty",
            "password", wasURLEscape(PASSWORD)
        ]
    )
);
Optional ParameterPossible ValueDescription
messagea stringSend a message with the friendship offer.