--
-- RaidGroup v0.1a -- vulture a.k.a. Sean Stanek <vulture@cs.iastate.edu>
--
-- /rg save name (to save/create)
-- /rg name (to load)
-- /rg delete name (to delete)
-- /rg (to list + help)
--
-- also, highlights (rather, changes the text color of) people in the
-- guild list that are in your raid/party vs those who arent in it
-- (old feature of this mod I decided to just keep in rather than fork
-- this mod into two mods! ~THIS MOD SUPERCEDES MY "RAIDGUILD" MOD~)
--
*******************************************************************
*** WARNING not very well tested software, may not work WARNING ***
*******************************************************************
a saved raid layout contains player names, class, and assist rank.
when loading a saved raid layout, the raid slots are filled in the
following order:
1. by name - put player into saved groups by name
2. by class - if players that weren't in the layout are in the
raid, then unfilled spots are fitted by class (i.e. a priest
doesn't show up one day but you bring a different priest, that
new priest will take the position of the no-show priest)
3. by role - if the same class is unavailable from (2), then
similar roles are used to fill the remaining spots (i.e. you
have one less priest but one additional shaman, that new shaman
may take the place of the missing priest)
assist ranks are only restored for original players that were saved
in the raid composition (i.e. if a no-show priest was an (A) and
got replaced by a new priest, that new priest will not receive
the (A)).
a quick example:
you have your raid group setup and ready to save the composition
before an arathi basin game:
/rg save ab
you queue up and join the AB game but your raid composition gets
messed up, so when everyone is inside, you do:
/rg ab
this then loads the composition and redoes the raid group layout
for you. this should also work in 40-man instances where you want
certain group layouts for certain encounters.

