I had a spell lined up and ready, though I can see now that it's not entirely what you require, I'll give it some more work, and let you know of the results.
I must admit, I've been looking through the options in gui, and I think it's impossible to do, atleast with my knowlegde - To detect an aoe-type spell and then return the damage of it, is far to complicated ><.