Hi guys, 
 
	im a bit of a rookie when it comes to vanilla macros. when ever i use this macro i get spammed with text in my chat box... any way to stop this ? sorta annoying because it just pushes all my chat out of the window.
 
	 
 
	 
 
	/script if GetUnitName("target")==nil then TargetNearestEnemy() end 
	/cast Arcane Shot(rank 1) 
	/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(3) then CastSpellByName("Auto Shot") end