21 August 2016
soft
parameter to soft-unban an avatar before sending the invite; the command now uses the target
group, if specified, instead of the command-group.29 June 2016
20 June 2016
force
parameter in favour of the verify
parameter - commands should set verify
to True
if they want Corrade to check that the avatar is not inside the group to invite before inviting.19 June 2016
force
parameter.21 May 2016
target
.21 December 2014
group
Corrade permissions.invite (Commands) | |
---|---|
Type | Corrade progressive command |
Command | invite |
Description | The invite command can be used to invite an agent to a group and optionally to set them to a certain provided role. |
Permissions | group |
Parameters | group , password , firstname , lastname (or agent by UUID) |
Last Changes | Release 9.118 - added the optional soft parameter to soft-unban an avatar before sending the invite; the command now uses the target group, if specified, instead of the command-group. |
The invite
command can be used to invite an agent to a group and optionally to set them to a certain provided role. Note that the default behaviour for this command is to invite the avatar to the group regardless if they already are in the group or have been banned (Second Life behaviour). In order to check that the agent is not already in the group you need to the verify
parameter as True
along with the command.
Command | Required Parameters | Required Corrade Permissions | Required Group Abilities | Example |
---|---|---|---|---|
invite | group , password , firstname , lastname (or agent by UUID) | group | * For inviting to the default Everyone role: Membership→Invite People to this Group * For inviting to Corrade's role in the group: Roles→Assign Members to Assigner's Roles * For inviting to any role in the group: Roles→Assign Members to Any Role * For inviting banned agents by unbanning them: Membership→Manage ban list | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "invite", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d" "firstname", "Corrade", "lastname", "Resident", // Soft-unban the agent before inviting. "soft", "True" ] ) ); |
Optional Parameters | Examples |
---|---|
role | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "invite", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d" "firstname", "Corrade", "lastname", "Resident", "role", "Officers" ] ) ); |
Optional Parameter | Possible Value | Description |
---|---|---|
target | A group name or UUID. | The group to act upon. If this parameter is omitted, then the command acts upon the configured group passed to the group parameter. |
verify | True or False . | If the verify parameter is set to True , then Corrade will check whether the avatar is already in the group and will not send an invite if they are. |
soft | True or False | In case an avatar is invited but is also present on the soft-ban list then Corrade will refuse to invite the avatar. By setting soft to True , Corrade will soft-unban the avatar and then invite. |
role
to an UUID instead of a name.