I'd suggest you take a look at this section in the 2nd Newbie's guide on advanced macros. The methods I talk about for my Death Knight are the same methods I've used on my hunter for marks and stings as well as druids and warlocks for Dots and Debuffs.
Connect With Us