Code:
/script TargetNearestEnemy(); /p Pulling %t /script AttackTarget(); /v 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.
Code:
/script TargetNearestFriend(); /follow
Code:
/cast Buff1 (Rank 1) /cast Buff2 (Rank 2) /cast Buff3 (Rank 3)
Code:
/script if (UnitName("target") ~=nil and UnitInParty("target")) then CastSpellByName("Power Word: Shield(Rank 1)")
Code:
/script TargetNearestEnemy(); /p Pulling %t /cast ShootBow(Rank 1) /v inc






