Here's the first version to test:
I've used a simple default template for printout, so I could get a version out for you to play with. If I have time, I'll make a prettier printout.
You call it with (for example)
!megs --av:7 --ev:3 --ov:12 --rv:10
You can replace the numbers with queries or attribute calls as with any normal macro.
!megs --av:@{target|batman|martialarts} --ev:@{target|batman|strength} --ov:@{target|joker|dodge} --rv:@{target|joker|toughness}
!megs --av:?{AV|1} --ev:?{EV|1} --ov:?{OV|1} --rv:?{RV|1}
You must (for now) include at least those four elements, and notice that " --" (a space followed by two dashes) is necessary to divide them up.
You can also include some extra elements:
--title: this is what goes in the top of the printout. If you have attacker and defender name, they'll be included or can be used instead. eg:
--attacker:Batman
--defender:Joker
You can also include
--description: some text that will appear directly below the header
--note: a footnote that will appear at the bottom after everything else
Finally you can include weapon/defence names. Normally you'd use
--av:7
but you can use
--av:Martial Arts:7
and the middle will be printed instead of AV. You can do this for each of AV, EV, OV, and RV.
Here's an example (with made up AV/EV/etc ):

The RAPs line only appears if a hit is scored, and description and note only appear if they exist.
A thing to note about the roll:
It shows the dice rolled, then an => then the total.
A possible point of confusion is it shows the actual dice - the 79 above is 2d10, one rolled 7 the other rolled 9. Added together = 16.
I did it this way because i plan to replace them later with dice images, to make it a bit prettier. It is also easy to see when you roll doubles.
Here's the code https://gist.github.com/birdbrainiac/4a18d202ef43ab5fee938facecedb09e
There might be bugs, and I havent put in any proper error testing or input validation, so it will probably be easy to break at this point. Feel free to test it and report back when things break or things dont add up correctly :)