Reply to Friendship Requests

14 January 2019

  • C10 - added entity parameter.
replytofriendshiprequest (Commands)
TypeCorrade progressive command
Commandreplytofriendshiprequest
DescriptionThe replytofriendshiprequest command can be used to manipulate the list of pending friendship requests by either accepting or declining friendship requests from an avatar specified by firstname and lastname (or agent by UUID) or by session UUID..
Permissionsfriendship
Parametersgroup, password, firstname, lastname (or agent by UUID), action, entity
Last Changesnone

The replytofriendshiprequest command can be used to manipulate the list of pending friendship requests by either accepting or declining friendship requests from an avatar specified by firstname and lastname (or agent by UUID) or by session UUID. Note that in order for this command to work, there has to be a pending friendship request. In order to check whether a friendship request for a given avatar is pending, you can use the getfriendshiprequests command can be used.

replytofriendshiprequest group, password, firstname, lastname (or agent by UUID), action, entity friendship
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // accept friendship request with
            // the avatar named Mr Handsome
            "command", "replytofriendshiprequest",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // accept a friendship request by avatar
            "entity", "avatar",
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Mr",
            "lastname", "Handsome",
            // or decline
            "action", "accept",
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Value Sub-Parameters Description
entity avatar firstname, lastname or agent by UUID. Accept friendship by avatar name or agent UUID.
session session Accept friendship by session UUID.

secondlife/scripted_agents/corrade/api/commands/replytofriendshiprequest.txt ยท Last modified: 2022/11/24 07:46 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


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