I would like to know the answer to e isboxer part becuase im running out of ranged and casters and would like to start using some melee other than tanks in some of my teams.

As for the macro, you might try changing the first part to

Castsequence reset=target/3

And keep the rest the same to see if that helps. The sequence will reset when you change targets or stop pressing the button for three seconds.