Quick "how to" question on ROLES.

Joined
Jun 7, 2007
Messages
816
Reaction score
3
Points
18
I have tried to research this but to no avail.

I need to know two things.

1) How do I return back a value to check what "ROLE" I am set to (Puller, main tank, main assist .. etc )

2) What are the commands to switch roles (when group leader) to each different role. Need the command for each role toggle toggle.

I know how to check if I am leader first with ${Me.GroupLeader}, just can't figure out how to determine current role and commands to toggle on/off each.

I greatly appreciate any feedback..

Thank you in advance.
 
/grouprole set (character name) 1 or whatever number the role corresponds to?

I would think something like
/if (${Group.MainTank.CleanName} == ${Me.CleanName}) {echo Hello World, I'm MainTank Role}

Something like that. Might have to duplicate the command a few times to check each role type, or come save the role types in an array and "foreach" array member, check if the group.current role == me.cleannamne, if so {do something}

DataType:group - MacroQuest Wiki

It's pretty rough, but might work.
 
I might see if I can script this up. I usually have my bard invite all people to the group and make them /notify click the follow button, then manually set my puller role, maintank, and mainassist roles.

Then I start up all their macros over /bc commands.

Won't save a lot of time, but it would be fun to get it working.
 
Thanks

Thanks ....

As soon as the compile is available again after patch I will test this.


/grouprole set (character name) 1 or whatever number the role corresponds to?

I would think something like
/if (${Group.MainTank.CleanName} == ${Me.CleanName}) {echo Hello World, I'm MainTank Role}

Something like that. Might have to duplicate the command a few times to check each role type, or come save the role types in an array and "foreach" array member, check if the group.current role == me.cleannamne, if so {do something}

DataType:group - MacroQuest Wiki

It's pretty rough, but might work.
 
Update

Found the info list for grouproles....

/grouproles list -- Lists all the roles in the current group.
/grouproles set Name RoleID -- Sets the group member's role.
/grouproles unset Name RoleID -- Unsets the group member's role.
/grouproles roleset -- Lists the available role sets.
/grouproles roleset save Name -- Saves the current group's role set.
/grouproles roleset load Name -- Loads a previously saved group role set.
/grouproles roleset delete Name -- Deletes a previously saved group role set.


Role numbers are:

1 = Main tank
2 = Main Assist
3 = Puller
4 = Mark NPC