so, merc is always groupmember1 in group. you want the macro to fade, turn off all attacks, pause the macro, fade again just in case. wait until the merc is ready to revive. revive it. then wait until your entire group is rezzed and at 100%. unpause the macro. win.
So you need a series of 3 downshits to do that.
Fade, turn off attack and songs, pause macro, and fade again:
Code:
holyshit3=/if (!${Group.Member[1].ID}) /multiline ; /alt act 212 ; /mqpause ; /twist off ; /attack off ; /alt act 212
Do nothing, and wait to revive merc.. revive it as soon as possible:
Code:
downshit1=/if (${Window[MMGW_ManageWnd].Child[MMGW_SuspendButton].Text.Equal[Revive]}) /nomodkey /notify MMGW_ManageWnd MMGW_SuspendButton leftmouseup
Wait for everyone in group to get rezzed, be at 100% and unpause macro:
Code:
downshit2=/if (${Macro.Paused} && ${Macro.Name.Equal[[COLOR=Yellow]bot[/COLOR].mac]} && ${Group.Member[1].ID} && !${Spawn[pccorpse ${Group.Member[2].CleanName}].ID} && !${Spawn[pccorpse ${Group.Member[3].CleanName}].ID} && !${Spawn[pccorpse ${Group.Member[4].CleanName}].ID} && !${Spawn[pccorpse ${Group.Member[5].CleanName}].ID} && ${Group.Min}==100) /mqpause
In order to run this, you must have plugin mq2MMOTLO loaded. Then change
bot.mac to whatever your macro name is. if you only have 3 members in group you can reduce that to the bare minimum on your downshit2.
I think you can throw in a ${Group.Member[1].PctMana}==100 check on there too on that second downshit to make sure the group is all good to go.
You may need a downshit that mirrors holyshit1 too, just in case fade didnt take.
Example of that downshit:
Code:
downshit3=/if (${Macro.Paused} && ${Macro.Name.Equal[[COLOR=Yellow]bot[/COLOR].mac]} && ${Me.CombatState.Equal[COMAT]}) /alt act 212