It was called Zorans Hunter Mod

I incorporated some of it into my own mod

but I used a macro to accomplish the same thing

Code:
/script if (CheckInteractDistance("target",1)) then CastSpellByName("Attack"); ChangeActionBarPage(1); else CastSpellByName ("Auto Shot"); ChangeActionBarPage(1); end;
this should work but it is untested as I haven't played a hunter in over a year