here's a hunter macro to get you started...
/cleartarget [target=target,dead]
/startattack
/petattack
/castsequence reset=15/target/combat Hunter's Mark, Serpent Sting, Arcane Shot, Arcane Shot, Arcane Shot