Cheap WoW WOTLK Classic Gold
- Buy WoW Classic Gold at IGGM. 6% Off Coupon: vhpg. Awesome prices, instant delivery.
Warrior Macros Stance dances Macros Charge/Intercept/Intervene Macros PvP / DPS / Leveling Macros Tanking Macros Multi Tanking Macros Common macro commands
Some common macro commands...Targeting:
-
/targetenemy
/targetfriend
/targetparty
/targetraid
/targetlasttarget
/targetlastenemy
/assist [name] - Assist your target or the named unit if specified
Using Items:
-
/use
/equip
/equipslot
/userandom , , item3, ¡
Examples of /equip and /use:
-
/equip <itemname>
/equip <bagid> <bagslot>
/equipslot <slot> <itemname>
/use <itemname>
/use <slot>
/use <bagid> <bagslot>
/userandom <item1>, <item2>, <item3> will attempt to use a randomly selected one of the specified items
Casting:
-
/stopcasting
/cast [option]
/stopmacro [option]
/castrandom , , ¡
/castsequence [reset=N/target/combat/shift/alt/ctrl] , , ¡
Sequenced Casting
* A new command /castsequence reset=N/target/combat/shift/alt/ctrl spell1, spell2, spell3
* The reset line can specify a number of seconds after which a sequence resets, or if it should reset on target change or leaving combat.
* The sequence tracks the 'next' spell in the sequence until it resets, the next spell only advances on a successful cast.
* You can specify a conditional at the start of the command before the reset to filter whether the sequence is used (You cannot use per-spell conditionals)
* You can specify items and stances as well as spells
Action Bars:
-
/changeactionbar
/swapactionbar
Attacking:
-
/startattack [unit]
/stopattack
Buffs/Auras:
-
/cancelaura [Stormpike Battle Charger]
OPTIONS
If multiple options are provided for an action, they must all be met before the action will happen. The options supported are as follows:
-
* target=unit - Run the command and perform tests on the specified unit (only applicable to spell casting or item use). You can specify 'none' as a target unit to act as if you have no target.
* help/harm - Choose depending on whether target is assistable or attackable
* combat - Choose depending on whether you're in combat or not
* stance or stance:# - Choose depending on your stance/shapeshift ("stance" alone matches any stance)
* stealth - Choose depending on whether you are stealthed
* mounted - Choose depending on whether you are mounted
* swimming - Choose depending on whether you are swimming
* flying - Choose depending on whether you are flying
* indoors - Choose depending on whether you are indoors
* outdoors - Choose depending on whether you are outdoors
* modifier or modifier:shift|ctrl|alt - Choose depending on any modifier keys you're holding at the time the macro runs
* equipped:|| - Choose if you have the specific item type equipped
* actionbar: - Choose if a specific actionbar is shown
* button:Z - Choose if the specified button is held down
* pet:| - Choose if your current active pet has the specified name or family (e.g. pet:bear/wolf)
* channeling or channeling:spell - Choose if you are channeling (possibly a specific spell)
* exists - Choose if the target exists
* dead - Choose if the target is dead
For stance and modifier you can list multiple matching values separated by the / character for the option to be true if ANY of them are true. For example modifier:shift/ctrl matches if shift or control is held down.
Any option can be prefixed with 'no' to select if it does NOT match. For example [nocombat]
# and - are comment characters in macros
A macro that starts with "# show or # showtooltip <item or spell>" will show feedback for that item or spell. A macro that starts with "# show none" will show no feedback. Otherwise the first /cast, /randomcast, /castsequence, /use, or /random use command will be used to show feedback for the macro. Castsequence is special in that it overrides the "#show" parameter. This is intentional, as most people want the current spell to show up instead of what is listed on "#show.
--------------------
macros within macros
-
/click <button name>
You can find a button name by hovering your mouse over a button and entering this into chat:
-
/script message(GetMouseFocus():GetName())
----------------
Setting raid target icons
-
SetRaidTargetIcon("target", 1); -- Star
SetRaidTargetIcon("target", 2); -- Circle
SetRaidTargetIcon("target", 3); -- Diamond
SetRaidTargetIcon("target", 4); -- Triangle
SetRaidTargetIcon("target", 5); -- Moon
SetRaidTargetIcon("target", 6); -- Square
SetRaidTargetIcon("target", 7); -- Cross
SetRaidTargetIcon("target", 8); -- Skull
SetRaidTargetIcon("target", 0); -- Remove RaidIcon
are the units
if you just want to put the skull (8) on one target use:
-
/script if (GetRaidTargetIndex("target")~=8) then SetRaidTargetIcon("target", 8); end
if you want to target a group - one use each target:
-
/script if not lastraidn then lastraidn = 1; end SetRaidTarget("target", lastraidn); if lastraidn == 8 then lastraidn = 1; else lastraidn = lastraidn + 1; end