Reply to Friendship Requests

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).
Permissionsfriendship
Parametersgroup, password, firstname, lastname (or agent by UUID), action
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). 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 friendship
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // accept friendship request with
            // the avatar named Mr Handsome
            "command", "replytofriendshiprequest",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Mr",
            "lastname", "Handsome",
            // or decline
            "action", "accept",
            "callback", wasURLEscape(URL)
        ]
    )
);

secondlife/scripted_agents/corrade/api/progressive/commands/replytofriendshiprequest.txt ยท Last modified: 2017/02/22 18:28 (external edit)

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.