14 January 2019
entity
parameter.replytofriendshiprequest (Commands) | |
---|---|
Type | Corrade progressive command |
Command | replytofriendshiprequest |
Description | 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.. |
Permissions | friendship |
Parameters | group , password , firstname , lastname (or agent by UUID), action , entity |
Last Changes | none |
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. |