http://www.dual-boxing.com/wiki/index.php/Macro:Sheep
method 5 sounds a bit like what you're after with the targeting cc