21 May 2016
target
.21 December 2014
group
Corrade permission.addtorole (Commands) | |
---|---|
Type | Corrade progressive command |
Command | addtorole |
Description | The addtorole command adds a member to a specified role (by name or UUID ). |
Permissions | grooming |
Parameters | group , password , role , firstname , lastname (or agent by UUID) |
Last Changes | Release 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. |