21 May 2016

21 December 2014

The addtorole command adds a member to a specified role (by name or UUID).

CommandRequired ParametersRequired Corrade PermissionsRequired Group AbilitiesExample
addtorolegroup, password, role, firstname, lastname (or agent by UUID)group* Roles→Assign Members to Any Role
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "addtorole",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "role", "Yappers", // or UUID
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Corrade",
            "lastname", "Resident"
        ]
    )
);
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.