28
Sep

WoW: Basic Macro Guide

   Posted by: free-wow-guide   in WoW Macros

Note: I did not write this.

Slash Commands

Chat Commands

/chat, /chathelp – List of chat commands
/s – Say (local ambient chat)
/p – Party say (group chat)
/g – Guild say (guild chat)
/y – Yell (broadcast to surrounding area; use sparingly, as this can be construed as spam)
/w <player name> or /t <player name> – Whisper (or “tell” – conveys a private message to another player)
/r – Replies privately to a whisper you’ve received.
Party Commands

/invite <player name> or /inv <player name>- If you are the group leader, this command invites a player to your party. (If the player is close by, click on them, then right click their profile to invite, alternatively.)
/uninvite <player name> – Kicks a player from your group (group leader only).
/random <number> or /roll <number> – Randomly generates a number between one and the number specifed (group leader only).
/ffa – Sets the “free for all” loot policy (group leader only).
/master <player name> – Sets the player to be “master looter” (group leader only).
/roundrobin – Sets the “round robin” loot policy (group leader only).
Status Commands

/afk, /dnd – Raises your “Away From Keyboard” or “Do Not Disturb” flags
/follow or /f – Auto-follows another player. Be careful using this command in dangerous areas (e.g. lots of aggro, cliffs, etc.).
/sit – Sits your character down. Players regenerate faster when sitting.
/stand – You stand up. Alternatively, just move.
/pvp – Puts your character in Player vs. Player mode, making you vulnerable to attack from other players.
Guild Commands

/ghelp – For a list of guild commands.
/gquit – Removes you from your guild.
/ginvite – Invites a player to join your guild (officers / leaders only).
/o – Sends a message to officer chat (officers / leaders only).
/gpromote <player name> – Promotes a player one rank (officers / leaders only).
/gdemote <player name> – Demotes a player one rank (officers / leaders only).
/gremove <player name> – Removes a player from the guild (officers / leaders only).
/gmotd – Sets the guild message of the day (officers / leaders only).
/groster – Shows the guild roster (officers / leaders only).
/gleader <player name> – Allows the current guild leader to grant guild leadership to another player.
/gdisband – Disbands the guild (guild leader only).
Misc Commands

/em <message> – Creates an emote
/played – Reports the amount of time you’ve played the game with that character.
/who – Lists the players online.
/time – Tells you the official game time. WoW days and nights run on the real-time day / night cycle.
/trade – Invites the targetted player-character to trade with you.
Chat Channel Commands

/#, /c, /csay – Send a message to a certain channel # (E.G. /3 omw!)
/chatlist, /chatwho <channel>, /chatinfo <channel> – List channels or channel members.
/cinvite <player name>, /chatinvite <player name>- Invite a player to a channel
/announcements, /ann – Toggle join and leave announcements in a channel
/ban, /unban – Ban or unban a player from a channel (moderator only).
/join <channel name>, /channel <channel name>, /chan <channel name> – Join a channel
/kick <player name> – Kick a player from a channel
/leave <channel number>, /chatleave <channel number>, /chatexit <channel number> – Leave a channel (or all channels if unspecified)
/mod, /moderator, /unmod, /unmoderator – Change a player’s moderator status
/moderate – Toggle moderation on a channel
/mute, /squelch, /unvoice, /unmute, /unsquelch, /voice – Change a player’s permission status. Mute and squelch are the same thing. (moderator only).
/password, /pass <channel name ><password> – Change the channel’s password (moderator only).
Combat Commands

/cast <spell name> – Use in macros to cast spells and combat abilities. Usage: /cast <full spell name> – ex. “/cast Rend (Rank 3)”. Shift-click a spell on your hotbar or spellbook to automatically add the /cast command plus the full spell name to the macro line your typing up.
Emotes

Emotes are fun little slash commands which are shorthand for a particular action or emotion, for example: /smile will type out the text “You smile” or “You smile at <target>.” and your character will beam a smile. For a complete list of emotes, check out Blizzard’s official emotes page.
Macro Basics

Access the macro interface through the main menu. Choose “New,” then pick a name and an icon (any name / icon is fine, you can change it later if you like). In a macro, you can type up to 250 characters but can only cast one spell (one spell is the limit, even if the spells cast instantly) in the body section. To cast a spell, use the /cast command outlined above (under combat commands). There’s no “save” button, just close the interface or create a new macro to save the macro you just created. There’s no way to nest macros in other macros or any of that tomfoolery, but you can bind a macro to a key by dragging the macro icon.
Here’s some more tidbits about macros:

  • Use “%T” to report your current target. This is useful to tell your group what you’re about to pull, e.g. “/p % incoming! Be ready!!”
  • Want to assist your pet? Put the following in a macro: ” /script if UnitExists(“pet”) then AssistUnit(“pet”); end”
  • For other pet scripts, check out the Blizzard UI forum.
  • If you’re not disposed to another type of UI mod, Cosmos reportedly allows you to put a pause in macro via the /in <number of seconds> command (i.e. begin casting fireball and say “eat fire!” 3 seconds later when the spell actually casts.)

Note that the voice emotes (ex. “/v help” to send out an emote with sound) have been temporarily removed from the game.

Self-Cast (Without Losing Her Target)

/script CastSpellByName(‘Holy Light’, 1)
This variant will cast a spell on the ally targeted. If no ally is targeted or an enemy is targetted, this macro will cast the spell on yourself.
/script if (UnitIsFriend(“player”, “target”) ) then CastSpellByName(“Mark of the Wild”) else CastSpellByName(“Mark of the Wild”, 1); end

Slip-Targeting Casts

The following macro allows you to target a group position (party1 through party6, left to right) with a commonly used spell (such as a heal or buff), then automatically returns targetting focus to the previous enemy.
/script TargetUnit(“party1″) /cast Flash Heal /script TargetLastTarget()

“Smart Buffing”

This macro recognizes whether or not an ally has a particular buff already active. If so, the macro casts another buff. If not, the macro casts the original spell.
/script i=1;m=0;while(UnitBuff(“target”,i)~=nil) do if(strfind(UnitBuff(“target”,i),”Regeneration”)~=nil) then m=1; end;i=i+1;end; c=CastSpellByName; if(m==1) then c(“Mark of the Wild(Rank 10)”);else c(“Thorns(Rank 10)”);end;

Healing Macros

The following macro checks a group mate for health below a certain threshold (in this case 0.7 or 70%), and casts a healing spell accordingly. Continuing to trigger this macro steps through the entire group or raid (up to 40 people).
/script for i=1,40 do TargetNearestFriend(); if UnitHealth(“target”)/UnitHealthMax(“target”) < 0.7 then if UnitIsPlayer(“target”) then CastSpellByName(“Lesser Healing Wave”) end end end; TargetLastEnemy();

Self-Bandaging

This macro offers an improvement on the default method of hotbar bandaging in that this will always self-bandage no matter who’s targeted.
/script p=”player”;t=”target”;if(not UnitCanAttack(t, p))then ot=UnitName(t);TargetUnit(p);else ot=nil;end;UseAction(ActionID);if(SpellIsTargeting())then SpellTargetUnit(p);end if(ot) then TargetByName(ot);end

Item Macros

Equipping From Inventory

All of your inventory item slots have a sort of physical address, given as bag / slot or, for example (3, 10). Bag (0-4, left to right) is which bag the item is found in on the hotbar. Slot is given as 1-20, left to right, top to bottom.
/script PickupContainerItem(bag, slot);

Quickly Applying Stones to Weapons

This macro allows you to programmatically apply sharpening or weight stones to your primary weapon, just set the stone location in your inventory. (To apply these enhancements to your secondary weapon, change the 16 to 17).
/script UseContainerItem (#,#); /script PickupInventoryItem (16);

User Interface

The following macro clears your user interface, useful if it breaks or gets buggy during the course of play.
/script clearui

Jump to Low-Res

If you’re ever in a raid or instance situation and your system is dragging (or maybe you’re getting some Orgrimmar or Ironforge lag), this is a quick macro that will lower the biggest performance-hogging settings. Experiment with a separate macro to restore your settings to what you’re used to (max is 777,2,1).
/z SetFarclip(177) /z SetWorldDetail(0) /z SetBaseMip(0)
Combat

Here’s an assist macro, courtesy of Lynk – Gilneas on the WoWwiki. Target your tank, then hold [alt] while activating the macro. Then clicking the macro again will have you target whatever that player is attacking. Simple and effective, and no more picking through the dog pile only to attack the wrong mob and earn yourself all the threat.
Assist main tank

/script if (IsAltKeyDown() and UnitIsFriend(“player”,”target”)) then MT=UnitName(“target”); DEFAULT_CHAT_FRAME:AddMessage(‘MT Set: ['..MT..']‘); elseif (MT ~= nil) then AssistByName(MT); else DEFAULT_CHAT_FRAME:AddMessage(‘Set MT Noob!’); end;

Totem Killer

A simple macro to target and use (hopefully) a low-mana, quick cast spell to whack-a-mole those totems. Substitute /shoot for the /cast line to use a wand instead.
/target Totem
/cast Moonfire(Rank 1)
Pet Macros

Here’s a list of pet macros:
/script PetAggressiveMode();
/script PetDefensiveMode();
/script PetPassiveMode();
/script PetFollow();
/script PetAttack();
/script PetStopAttack();
/script CastPetAction(X);
Where X is the action on the pet bar: 1, 2, 3, etc.

Report Quest Progress to Group

This macro lets your group know how close you are to completion on your active quest. There’s no need to type it all out anymore!
/script i = GetNumQuestLeaderBoards(); for j = 1, i, 1 do a1, a2, a3 = GetQuestLogLeaderBoard(j); SendChatMesssage(a1, “PARTY”); end;

Share

Tags: , , , ,

This entry was posted on Sunday, September 28th, 2008 at 3:27 pm and is filed under WoW Macros. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment
*