Well to be honest that's a good start.
Give us some logic-code of how you want it done and start looking in TFM and the Wiki.[[MacroQuest2:Macros]] <-- Would be a good place to start.
Much better on your end if you start with some logic, then code it out - then grab another piece of logic, and code it out, and so on until your macro is complete.
Not sure what logic code is? Here's your macro, laid out logically. (Keep in mind this is an initial draft, things can and will get moved around as you start to code it out)
Code: Select all
Macro starts, ensures all needed spells are loaded
macro checks variables or ini for a "Main Assist" If none, end macro.
Macro targets main tank, every 3-5 seconds /assist him to determine if the MA has a target, and if that target is engaged. Alternatively, you could look at the HoTT window if it's available.
If main assist is on a mob, and mob is below 98%. goto Kill-It sub
If necro gets agro, immediately chain FD until successful.
Kill-It Sub:
/pet attack
cast spell 1
cast spell 2
cast spell 3
See? No code in there, yet your macro is nice and laid out. Work from there.
(Also if you do as I suggested, I'd code up a little then move it to the
macro help forum as it will be a much better place to start asking for help with the code.)