Add a Member to a Role

21 May 2016

  • Release 9.78 - added optional parameter target.

21 December 2014

  • Release 7.34 - added group Corrade permission.
addtorole (Commands)
TypeCorrade progressive command
Commandaddtorole
DescriptionThe addtorole command adds a member to a specified role (by name or UUID).
Permissionsgrooming
Parametersgroup, password, role, firstname, lastname (or agent by UUID)
Last ChangesRelease 9.78 - added optional parameter target.

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

Command Required Parameters Required Corrade Permissions Required Group Abilities Example
addtorole group, 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 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.

secondlife/scripted_agents/corrade/api/commands/addtorole.txt · Last modified: 2022/11/24 07:46 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.