Skip to content

Roleme: Complex Maximums

John Grosh edited this page May 26, 2017 · 2 revisions

While the %roleme max command can be used to assign a maximum number of roleme roles any user can have, it is possible to have multiple maximums based on the content of the roles' names. Instead of including an integer maximum, use the format max:name|max2:name2|max3:name3 etc. Note: This does not change which roles are available to be added; check %roleme list to see the list of added roleme roles.

Examples

Role names: Red Color, Blue Color, Green Color, Gamer, Coder
Desired Result: Users can assign themselves one of the "Color" roles, and as many of the other roles as they want
Command: %roleme max 1:Color

Role names: Team 1, Team 2, Team 3, Warrior, Magician, Archer
Desired Result: Users should be able to assign themselves one of the Team roles, and one of the class roles
Command: %roleme max 1:Team|1

Role names: Cool, Fun, Funky, Happy
Desired Result: Users should be able to assign themselves to two of the roles (no special max needed)
Command: %roleme max 2

Role names: Mario [Brawl], Link [Brawl], Pikachu [Brawl], Mario [Melee], Link [Melee], Pikachu [Melee]
Desired Result: Users should be able to assign themselves one brawl role and one melee role
Command: %roleme max 1:Brawl|1:Melee

Clone this wiki locally