Free WoW Macros: In-game Macro Library

Pulling Macro
CODE
/script TargetNearestEnemy();
/p Pulling %t
/script AttackTarget();
/inc


Hunter Melee Macro
CODE
/cast Aspect of the Monkey
/script PetAttack();
/script AttackTarget();


Feed Pet Macro
CODE
/script if (not PlayerFrame.inCombat) then if (not
GetContainerItemLink(4, 1)) then OpenBag(4); else CastSpellByName("Feed Pet"); PickupContainerItem(4, 1); end end


Priest Macro
CODE
"/script if (UnitName("target") ~=nil and UnitInParty("target")) then CastSpellByName("Power Word: Shield(Rank 1)") else TargetUnit("player") CastSpellByName("Power Word: Shield(Rank 1)") TargetLastEnemy(); end;


Example to put on 1H-weapon and offhand weapon when you are wearing 2H-weapon

CODE
/script PickupContainerItem(4, 1);
/script -- 1H weapon now on cursor.
/script PickupInventoryItem(16);
/script -- 1H weapon now equipped, 2H weapon on cursor.
/script PickupContainerItem(4, 3);
/script -- 2H weapon in inventory, no item on cursor.
/script PickupContainerItem(4, 2);
/script -- offhand item on cursor.
/script PickupInventoryItem(17);
/script -- off hand item now equipped, no item on cursor.


Example to put on 2H-weapon when you are wielding 2H-weapon

CODE
/script PickupInventoryItem(17);
/script -- off hand item now on cursor.
/script PickupContainerItem(4, 2);
/script -- off hand item now in inventory
/script PickupContainerItem(4, 3);
/script -- 2H weapon now on cursor.
/script PickupInventoryItem(16);
/script -- 1H weapon now on cursor, 2H weapon equipped
/script PickupContainerItem(4, 1);
/script -- 1H weapon now in inventory, no item on cursor.

--------------------------

Here's a very simple but handy Following macro. I often use this when i see people going somewhere I want to and I don't wanna navigate there myself.

CODE
/script TargetNearestFriend();
/follow


-------------------------

It is no problem to make a macro, that casts all spells / buffs for you, it is actually the easiest macro there is (nearly)

CODE
/cast Buff1 (Rank 1)
/cast Buff2 (Rank 2)
/cast Buff3 (Rank 3)

(You don't even need the "/script" )

If you want to cycle through your team-mates, that is a bit more advanced. In-Game you would just have to press F1 (yourself) to F5, in a macro you have to use some /script commands. *Evil* already gave a similar example.

CODE
/script if (UnitName("target") ~=nil and UnitInParty("target")) then CastSpellByName("Power Word: Shield(Rank 1)")


Casts the Spell "Power Word: Shield(Rank 1)" if the target is in the party.
Don't know how to repeat something like that several times, but with "/script TargetNearestEnemy();" it should be possible to make something like you wanted out of it.


---------------
CODE
/script TargetUnit("player1");
/script CastSpellByName("Heal (Rank 1)")
/script TargetUnit("player2");
/script CastSpellByName("Heal (Rank 1)")
/script TargetUnit("player3");
/script CastSpellByName("Heal (Rank 1)")
/script TargetUnit("player4");
/script CastSpellByName("Heal (Rank 1)")


I don't know, if the game automatically waits until the spell is casted, but this should work . If the game does not wait, you can't do a macro like that (there is no "wait (2)" command!).

CODE
/script TargetUnit("player1")
Code:

Simply selects the Party-Member with the ID 1. (equal to F2)

/script CastSpellByName("Heal (Rank 1)")


Casts the spell named "Heal" of the rank 1.

---------------------------------

You can select an ability in your spell book and shift+click it into your macro editing tool to grab that actions command.

Here is a Pulling with Ranged Macro (obviously not that hard to make )
Alternate weapons:

CODE
/cast ShootGun(Rank 1)
/cast Throw(Rank 1)


CODE
/script TargetNearestEnemy();
/p Pulling %t
/cast ShootBow(Rank 1)
/inc
Reply With Quote

No comments: