Sorry for the double-post, but I found something interesting and wanted to alert you all to it, if you're looking for this built-in Tab function.
#showtooltip
/stopmacro [noharm]
/startattack
/cast Swipe [harm]
/cast !Maul
/run SetCVar(â€targetNearestDistanceâ€, 10)
/targetenemy [harm]
/run SetCVar(â€targetNearestDistanceâ€, 41)
Basically, this one will...
1. Enable auto-attack.
2. Cast Swipe if your current target is hostile.
3. Enable Maul.
4. Set the /targetenemy range to 10 yards.
5. Target a new enemy.
6. Set the /targetenemy range to 41 yards (default).
7. Cancel the macro if your target isn't hostile.
1. Means you don't have to right-click stuff.
2. Often you already have a target selected when you press Swipe the first time and there's no reason to have to target a new target before the first Swipe. Gives you some measure of control.
3. Means you don't have to spam Maul.
4. There's no reason to target enemies outside of the 10 yard range and this one will prevent the /targetenemy function to accidentally target nearby patrols and stuff.
5. Means you don't have to spam Tab.
6. Returns the /targetenemy range to 41 yards which is the default setting, I believe. This prevents the macro from messing up your normal Tab targeting range as it basically resets the settings to the way they were before you ran the macro.
7. Prevents you from accidentally blowing Swipe if the target is neutral, I believe. Maybe it won't, I'll have to see if I can test it.
The servers will be up in about 20 minutes, so I'll test it there and fix whatever errors there might be.
Edited, Apr 28th 2010 10:46am by Mazra