Ultimate World of Warcraft Guide
Assist Macros
World of Warcraft Macros and Scripts
Healing Scripts
Bag Numbers & Slots-Inventory Numbering
Assist Macros
Inventory Numbering
Action Bar Page Switching
Fast Text Scrolling
Follow Macro
Pulling Macro
Toggle All Bags Open
Feed Your Pets
Weapon Switching
Bandaging
Links
Randomize Your Emotes
Buff A Lowbie
WoW Action Bar Numbering
Healing With Little Mana
Rogue Macros

1. Basic Assist Macros
2. Assign and Re-Assign Main Assist with Alt Key & Macro
3. Assist Warlock Specific Script
4. Assist, target & Attack Macro

1. Basic Assist Macros

Assisting a team mate in defeating a mob or a member of the opposing faction is a nesscary and desired ability. In World of Warcraft there are many ways to build assist macros and scripts. Many are simple and easy to achieve and we start with those examples first.

In the following example you only need changed the first line in each of these macros. By doing so you change the target of your intended assist.

/assist (nameofplayer)
i.e. /assist Frank
/script AttackTarget();

Add this line to the macro for those with pets
/script PetAttack();
Add this line to the macro for casters
/cast (name of Spell)
i.e. /cast Frostbolt(Rank 4)

You can substitute the first line with this %T Variable but you will have to manually target the character you want to assist prior to firing on a new target.
/assist %T
/assist Attacktarget();
Add this line to the macro for those with pets
/script PetAttack();
Add this line to the macro for casters
/cast (name of Spell)
i.e. /cast Frostbolt(Rank 4)

You can substitute the first line with the following and the macro will pick the nearest party member

/assist NearestPartyMember();
/script AttackTarget();
Add this line to the macro for those with pets
/script PetAttack();
Add this line to the macro for casters
/cast (name of Spell)
i.e. /cast Frostbolt(Rank 4)
2. Assign and Re-Assign Main Assist with Alt Key & Macro

By Steven Collins

Credit goes to Steven Collins for the following Assist script. 1 macro to assign a "Main Assist." No more editing by hand the assist macro. The only thing you have to do to assign a "Main Assist" is press Alt + "Macro Button created". Once you set who the "main assist" is you let them run around and attack creatures and you will automatically get their "target". Totally cool and probally the best assist script out there.

To assign or change the "Main Assist" press the Alt key + "Macro Button" you created simutaneously. You will receive a message that you have assigned a "Main Assist" and that you are assisting the "Main Assist"

/script if IsAltKeyDown() or not MA then MA=UnitName("target")
DEFAULT_CHAT_FRAME:AddMessage(MA.." is now Main Assist") end
/script AssistByName(MA) DEFAULT_CHAT_FRAME:AddMessage("Assisting ".. MA)

3. Assist Warlock Specific Script

Posted by Lacerous here

/script if (UnitIsFriend("player","target"))then AssistUnit("target")PetAttack()end
/script AttackTarget()

or
/script if (UnitIsFriend("player","target")) then AssistUnit("target") PetAttack() end
/script CastSpellByName("Immolate(Rank 3)")

4. Assist, Target & Attack Macro

Posted by Fesra Here

This so far is the best all round Target/attack macro I have used. Nice Elseif switch!! Nice work Fesra..Big Grin

/script if (UnitName("target")~=nil and UnitInParty("target")) then AssistUnit("target") elseif UnitIsEnemy ("target", "player") then TargetLastEnemy() else TargetNearestEnemy(); end;
/cast Attack















Valkor's Gold Making Guide