22 October 2016

21 December 2014

The eject command can be used to eject an agent from a group. It requires both the in-world power to eject as well as the in-world group power to remove members from roles in order to make sure that the member has been ejected.

CommandRequired ParametersRequired Corrade PermissionsRequired Group AbilitiesExample
ejectgroup, password, firstname, lastname (or agent by UUID)group* Membership→Eject Members from this Group
* Roles→Remove Members from Roles
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "eject",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Corrade",
            "lastname", "Resident",
        ]
    )
);
Optional ParameterPossible ValueDescription
demoteTrue or FalseIn case demote is set to False then Corrade will fail to eject the avatar in case the avatar is part of any other role other than the Everyone role.

Notes

[image: secondlife_scripted_agents_corrade_api_comands_eject_capser_no_group_power_for_command.png]

then please make sure that the Membership→Eject Members from this Group SecondLife group permission is granted to your Corrade bot.