Just to put this in the mix for folks who do not use single groups ...I often mix and match my toons (20+), so I try to keep code flexible enough I don't have to keep updating toon names. I thought some other folks might like to see how that is done, and how. (I am writing training manuals right now so, sorry if this is lengthy for some) There are of course numerous ways to accomplish this, this is simply how I would go about it, and its something to do while on break =P
INI:
(Raid Druid version)
CombatCommand11=/multiline ; /bct ${Group.Cleric} //mqp on ; /bct ${Group.Cleric} /casting "Expurgated Blood|gem13" -targetid|${Me.ID} ; /bct ${Group.Cleric} //mqp off
CombatCondition11={Bool[{Me.Song[Restless Ice].ID}]} && {Bool[{Group.Cleric.ID}]}
(MQ2Melee version)
holyshit25=/if (${Bool[${Me.Song[Restless Ice].ID}]} && ${Bool[${Group.Cleric.ID}]}) /multiline ; /bct ${Group.Cleric} //mqp on ; /bct ${Group.Cleric} /casting "Expurgated Blood|gem13" -targetid|${Me.ID} ; /bct ${Group.Cleric} //mqp off
First off, I don't use KA, so the format for my macro is different. But it is easier to read then the MQ2Melee line, and ought to be easy enough to convert over to KA with the explanation below on what is going on.
Checking this, shows you that you can check if there is a live cleric in the group. Which means:
Spawn ID if there is one, or a NULL if not. ---"${Group.Cleric.ID}
Toon name ---"${Group.Cleric}
Checking this shows that the plugin MQ2Cast allows for targeting with the /casting command using target ID.
And ${Bool[ ]} is being used to give a direct TRUE/FALSE return.
Thus, the condition is above in layman's terms is:
"do I have Restless Ice" -- ${Me.Song[Restless Ice].ID}
and "is there a real cleric in the group" -- && {Group.Cleric.ID}
Then the command above in layman's terms is:
Multiline command -- /multiline ;
Tell the group cleric to pause macro -- /bct ${Group.Cleric} //mqp on ;
Tell the group cleric to use MQ2Cast to memorize in gem 13 if needed, target me by ID, and cast cure spell -- /bct ${Group.Cleric} /casting "Expurgated Blood|gem13" -targetid|${Me.ID} ;
Tell the group cleric to unpause macro -- /bct ${Group.Cleric} //mqp off
-------------------
The group TLO does not allow for easy checking of shaman or druid in similar fashion, how ever since there can not be mercs of those classes, one can use ${Spawn[group shaman]} to get the name and ${Spawn[group shaman}.ID} for the ID. So the above can be modified to fit what ever class you want to designate as curing for the fight. Or indeed, you can set up a line per class, and simply turn that holyshit or macro condition on/off as needed if you happen to have multiples of cleric/shaman/druid combos and only want the one curing.
Back to work /crack