World of Warcraft macros: basic WoW macros for warriors
World of Warcraft macros They allow you to automate certain repetitive or complicated tasks in WoW by linking a series of text commands (the ones you would normally type in the command window) to a button that will execute the commands when pressed.
Covering all the options you have when creating WoW macros would require a small book, so instead of boring you with all those details, I thought I would use this article to go over the macros that are most useful to warriors.
First, some general characteristics of the macros themselves.
Using normal World of Warcraft commands in macros works the same as if you were typing them on the command line. For example, to set up a macro that says “Got you!” the line in the macro would be simply: / s Have at you!
When writing commands that use the WoW user interface, such as casting a spell or moving items in your suitcases, the commands must be written in the LUA programming language. Don’t worry if you are not a programmer and you do not know LUA because there is no need to use this guide, I only mention this because it will help you better understand macros if you know the difference between a normal WoW command and a LUA command.
All macros are case-sensitive and divided into two parts. LUA commands must be written in lowercase, while WoW function commands generally use an uppercase letter to start each word.
For example, yes yes no then and it doesn’t end they are each an LUA command and must always be written in lowercase. CastSpellByName “Spell” is a World of Warcraft function command that you can see because the beginning of each word is capitalized.
/ script should always be placed at the beginning of a command string, unless you are only using WoW in game slash commands. For example, the Wow function command above CastSpellByName “Spell” it would actually be written like this: / script CastSpellByName “Spell” as a macro because it is not a standard slash command in the game and therefore must have / script at the beginning of the sentence.
Objective, / Sign off Y / laughter are examples of in-game slash commands and don’t need / script at the beginning of the sentence.
Putting paragraphs between hyphens will separate the two hyphens from each other and the game engine will recognize them as two separate hyphens. So if you are using the yew command in a script the whole script up to final The command must be in the same sentence. This means that you cannot use paragraphs to make the command more readable because the game engine will interpret the new paragraph as the beginning of the new command.
; it is commonly used as a delimiter between commands and acts like a paragraph in the sense that the sentence after the semicolon will be interpreted as a new command.
If you are using the yew command the yew eventually must be followed by the soon command and ended by it will end if then order to make it valid. For example, a typical if / then / else command would look like this: yew Something is true soon Do something final
Some WoW commands will have empty parentheses () at the end of the command, and even if there is nothing in parentheses, they must be included for the command to be valid.
Basic World of Warcraft macros for warriors
Two of the most common questions I see in warrior macros are “How do I change my posture” and “How do I change my weapons?”, So those are the two macros that I am going to discuss here. I’ll cover basic and advanced posture commands first and then go over weapon swapping using a macro after that.
There are several commands that you can use to change your stance as a warrior. I’ll explain the simple commands first and then introduce ways to use more advanced commands for much more powerful effects.
You can change your posture by casting a “spell” (CastSpellByName “Spell”) or using the function command to change posture (CastShapeshiftForm ()). The CastSpellByName “Spell” command will cast any spell that is written between the two quotes (where Spell is currently written). A stance is a spell just like a charge or an attack. Basically, anything you see in your spellbook can be “cast” using the CastSpellByName “” function.
Here are some examples:
/ CastSpellByName script “Battle Stance” will put you in Battle Stance
/ CastSpellByName script “Defensive Posture” will put you in Defensive Posture
/ script CastSpellByName “Berserker Posture” will put you in Berserker Posture
You can also use a function command to change your posture. This command does the same as the CastSpellByName command but is slightly shorter. Because each macro in World of Warcraft is limited to 255 characters, it is important to use the shortest possible command to achieve your goal.
/ script CastShapeshiftForm (1) will put you in battle position
/ script CastShapeshiftForm (2) will put you in defensive position
/ script CastShapeshiftForm (3) will put you in Berserker Stance