Prolly won't be using this, as I have other, deeper macros that I use for botting. However, in reading this, they appear to do just fine in most grouping situations.
And thank you for sharing what you've come up with, I hope others will share what they've come up with.