21 August 2016

29 June 2016

20 June 2016

19 June 2016

21 May 2016

21 December 2014

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 behavior 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 behavior). 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.

CommandRequired ParametersRequired Corrade PermissionsRequired Group AbilitiesExample
invitegroup, 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 ParametersExamples
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 ParameterPossible ValueDescription
targetA 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.
verifyTrue 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.
softTrue or FalseIn 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.

Notes