• Sun. Sep 25th, 2022

    World of Warcraft Macro uses command level format

    ByGoodBoy

    Sep 23, 2022
    4 thoughts on “World of Warcraft Macro uses command level format”
    1. Macro
      I believe many people know the slope "/" in wow and the expression command. Macro can connect these commands according to the conditions of the conditions, such as:/kneel is the action that lets you kneel down// SAY is the most basic dialogue. If you do n’t marry me, then I will not get up for a lifetime ... "
      It, your character will kneel first and say:" If you don’t marry me, then I will not get up all my life ... "

      Mache can apply the "/" and expression commands that have been defined in all WOWs. What is more terrible is that the macro can even apply the magic and skills of the characters,

      The "/CAST" command is applied in the definition process of the macro. The following is some commonly known commands:

      /assist. This is a assisted command. When your team faces several enemies at the same time, As long as you click on your teammates (usually the soldiers in the team), and then use this command, your goal will become the target selected by the warrior. Everyone concentrates the firepower to eliminate one! It is an command to use skills. When you enter the/cast skill name (skill level) in the macro command, just click on Shift and click the icon you want to enter. When using the macro of the battle roar, you can enter the icon of/Cast Battle Shout (RANK 1) or just hold down Shift and click the Battle Shout icon. Of course you can enter a few skills on a macro different line, then you should be when you should be when you are when you When using this macro, a few skills will be released together, and you don't need to press a few keys at the same time like octopus.

      %t may often appear in your macro command often appear in your macro command often. In it, it is a code that represents the name of the person you currently. For example, you write such a sentence in Hongli. (Note: It must be added later.) "/G %t, the weather today is really good, is there any interest? Make mushrooms with me ... "
      . If you order a player named benzene, then when you press this macro, you will say," Stupid, the weather is good today, is there any? Interests go up the mountain with me to use mushrooms ... "

      /target This is an order to automatically select the goal. You can enter/target (xxx) in Hongli, then when you press this macro, you you, you, you The goal called XXX is automatically selected.

      /in this is a delayed command, the time is in seconds. At the same time, it does not support attack instructions. Format For example,/in 3 dance, dance after 3 seconds,
      /say Start!
      /in 3 SAY 3S Later
      /in 6 SAY 6S Later

      : Advanced tutorial

      n
      1. Allow you to switch between the window and the full screen state

      /script setcvar ("gxwindow", 1 -getcvar ("gxwindow"); n2. For the mage, there must be: replace "X" to your current deformation level (the same below); use it to replace the deformation skills. When you use it outside the team, you will get information "You are not in the team.", But in the team, other companions will understand the deformation goals you will release.

      /p sheeping >>> %t u003Cu003Cu003C
      /reast polymorph (rank x)

      3. As a warlock, this is a macro that uses in the team: first converting the goal into a target of a monster or a tank is attacking, and then ordered the pet to attack forward and follow a weak curse.

      /assist Team or the name of the tank
      /scripttattack ();
      /cast curse of weakness (RANK X)

      4. Switch the weapon from the backpack and bag

      /script if (not (not ()) then (,);

      (); end r
      bag nbag # -Which bag of items are used (0, 1, 2, 3, 4.0 is a backpack)

      slot# -position in the bag (from 0 to top to left)

      equip# -16 is the main weapon, 17 is the secondary weapon

      5. The person you designated in this macro treatment team will treat yourself if you are not in the team. Then switch the goal back to your last enemy. At the same time, it will use a team to remind teammates which one you will treat.

      /script if (unitname ("target") ~ = nil and ("player", "target")) then

      ("heart (rank x)") ("Incoming Heal to %T", "Party") Else

      ("player") ("heal (rank x)"); End

      6.加速任务显示速度rnrn/script QUEST__GRADIENT_CPS = 600000 rn/script ("QUEST__GRADIENT_CPS") rn/script DEFAULT_CHAT_FRAME:("quest text will scroll faster now"); r n
      7. Eliminate the time for waiting for the task

      /script ()

      8. This macro can automatically escort the player on the road to do tasks.

      /assist [player name]
      /cast spell (RANK X)
      /target [player name]
      /follow [player name] n n n n n n n
      9. Switch the main and auxiliary weapons, see Article 4

      /script (16); (17);

      10. When there is no goal or the goal is the enemy, add magic or treatment to themselves.

      ("Spell name (rank x)");

      if ((((((())) and (not ("player", "target"))

      then

      ("player");

      end;

      ();

      11. Switch the two -handed weapon and one -handed shield or waving weapons with both hands

      /script (17); if (()) then

      (4,2); (4,1 ); (16); else

      (4,1); (16); (4,2); (17); End

      12. Set "real mouse vision"

      /script (ARG1);

      13. Switching close -range skill column and remote skill bar

      /script Current_ACTIOR_PAGE = 2;
      /script ();
      /cast (Justque the left click)

      /scriptcurrent_actionbar_page = 1;
      /script ();
      /cast (just used the left call)

      14. The priest adds blood to his teammates, such as the No. 1 key to add blood to the first teammate, and the second key to add blood to the second teammate, eliminating the operation of the mouse

      Push in order, from the first person to the last

      to add blood to teammates:
      /script ((1))
      r n
      Inned blood to teammates:
      /script ((2)) (heal (rank x)) ())

      n/script ((3)) (heal (rank x)) ())

      15. One -click solution to feeding pets: This macro will take out food to feed pets from the first position in the leftmost bag. If the location is located

      has no food, it will automatically open the bag.

      /script if (not .incombat) then if (not (4, 1)) then

      openbag (4); else ("feed pet"); (4, 1); End End

      16. Warlock macro

      1) If the target life is greater than 20, release the extraction of life spells, otherwise the soul is extracted.
      /script if (("target")> 20) then ("Drain Life (RANK X)") else

      ("Drain Soul (RANK 2)") end;

      2) The cursed version of the weak
      /script if (unitmana ("target")> 0) then ("Curse of tongues (RANK X)") else

      ("" Curse of weakness (RANK X) ") end;

      17. Treat yourself first, and then automatically select the last enemy
      /target pugar // R n/CAST LESSER Heal (RANK 1) // Exhibit secondary treatment of Rank1
      /script (); // Re -select the enemy you just selected
      /script (); Right -click the enemy

      18. For a very useful macro for a warlock: first convert the target into a monster or the tank is attacking the target, and then order the pet to attack

      , Follow a weak curse.
      /assist Team or the name of the tank
      /scripttattack ();
      /reARSE of Weakness (Rank x)

      19. After that, remind others that they may be beaten by being strange. If they do not add a delay, there is no effect.
      /p healing %t, need 3s, do run away
      /reast heal (RANK 1)
      /in 4 p cured %t 300hp, please notice the enmies turn on me^ _^

      20. Automatically escort friends on the road to do tasks.

      /assist [player name]
      /cast spell (RANK X)
      /target [player name]
      /follow [player name]

      three: advanced tutorial

      wow's macro function library can go to these two places to check:

      ] /index.php/ward_of_warcraft_api

      The function of the function is relatively simple. Those who learn from programming are relatively easy to use. The basic usage is to use/script in front of the function. For example, r. n/script current_actionbar_page = x;
      /script ();
      is to turn your shortcut column to the X p. It is useful and convenient, such as opening all bags at a time:

      /script ();

      The function of closing the bag with the closing of the bag can also be realized at one time:

      /script closebag (0);
      /script closebag (1);
      /script closebag (2);
      /script closebag (3);
      /script closebag (4);

      how to do it, will you open the bag one by one when you sell things?

      The most horrible thing is that the macro of WOW can be judged by conditions. Look at the following two:
      /script if (()> = 3) then ("RANK 2)"); Else if (

      unitmana ("player")> = 40) then ("rake (RANK 1)"); End END

      Implement the skill (unattended) according to the COMBO points, and the call of the angle

      The macro of LL:
      function (,)
      local spellid = 1;
      local spellbook = "Spell";
      lockname;
      spellname = (spellnamed, spiellyd, space, spienamed, space, spking, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, (spellnamed, space,
      While (SpellName) Do
      if ((Spellname ==) and ((not) or (rank) or (rankname =

      ))) then return speed; (Spellid, Spellbook);
      end
      RETURN -1;
      end

      The can define the function by yourself, and the cycle like WHILE, Do can make you think of it What is the possibility of N applications?

      . Unfortunately, the official does not seem to provide a delay macro, so the use of a variety of delayed skills in the battle cannot be achieved (unrealized skills can be achieved at the same time), and it can be used at the same time. Similar to other weapons -use skills or spell -replacement of weapons can not be achieved,

      (so -called to achieve sword shield warrior to change the two -handed weapon MS and then replace it, but it is not possible), but Friends using cosmos can use/in to achieve non -combat command delay. For example,
      /in 3 say hi will say Hi after 3 seconds.

      /in 6 /script (arg1);
      will run forward after 6 seconds.

      . Although spells and skills cannot be delayed with/in instructions, this is already very powerful. For example, you can compile macros of various sports, such as after pocket, turn around, etc. It is estimated to be essential when PVP.

      The macro of the two -handed weapon warrior written by a player:
      /script (0, 2); (11); (11);

      (12); (12);
      /cast Thunder Clap (Rank 1);
      /script (arg1);
      /in 1/script (arg1); (); n
      The condition of this macro: Put the recovery medicine in the second grid of the big bag. The 11th and 12th shortcuts are one -handed and one shield shortcuts.

      In after using this macro, the character automatically drink recovery medicine, equip the shield, use Thunder Clap (these three actions are performed at the same time), turn to the automatic running key to escape after turning back 180 degrees backwards. The skills can be changed by yourself as needed. How about, is it exaggerated, haha.

      The useful macro:

      to switch equipment,

      to switch one hand with both hands and change the second fast column, the 11th speed column 11th , 12 are one -handed and one shield shortcuts
      /script (11); (11); (12); (12);
      /script current_actionbar_page = 2;
      /script ();
      In one -handed hand switching with both hands and returning to the first fast column. The shortcut column 12 is the shortcut of one -handed weapon
      /script (12); (12); 1;
      /script ();

      The following is another article

      author: Return to Honor
      An auxiliary means, I hope that through the following explanations, everyone can easily edit their own macro.

      first look at the macro structure:

      /script
      if ((target)> 80)
      then
      (Level 4 4 (Level 4 4 )
      (Use fireball, Emote)
      else
      (Olympic Missile (Level 2))
      (using Owish missiles, Emote)

      This is a macro without a delay function. Macro with a delay function will be explained later. Chinese means
      . If the health of the target you choose is greater than 80, you will perform level 4 fireballs and inform people around you. In the execution of a class 2 missile, inform the people around you used this action for the target.
      is worth noting that, such as (using fireball, emote) in %T), if you replace it with party, you can see
      . It is only visible in the team.
      The function used in this example:
      (target) Return to the target health
      . This is the same. If you do n’t judge, it is directly
      )
      (Use fireball, emote)

      Note that this article focuses on the introduction of ideas!
      The following are some commonly used macro
      mart to move backwards, write () to pay attention to the back of each sentence when used;
      Stop back and retreat
      Move left to the left
      to stop the left move
      to the right
      stop right move
      n Stop the left turn
      to right to right
      stop right to turn right
      jump ()

    2. If you have the heart learning, you can patiently look at it

      Foreword:
      1, because () and () are disabled in 2.0, so most of the macro before 2.0 will not be available. Now, macro writing has also changed a lot. Without macro, you can check BUFF, Debuff, cooling, blood volume, magic, anger, energy. However, you don't need to regret it. The macro can now achieve many new functions and are very powerful.
      2, please check your key settings before using some macros. The system defaults to CTRL 1 to 10 is a pet skill bar, while Shift 1 to 6 is a selected action bar. Some macros are conflicted with these default keys because their own settings may change the macro or change the default key settings of the system.

      3. After reading this article without leak, then 95%of the macro can write it yourself.

      The on the body number:
      1: head
      2: neck
      3: Shoulder
      4: shirt
      5: chest
      6: belt
      7: legs
      8: foot
      9: wrist
      10: gloves
      11: finger 1
      12: finger 2
      13: accessories 1
      14: accessories jewelry 2
      15: Back
      16: Main Hand
      17: Deputy Hand
      18: Remote weapon

      Action bar number:
      -12
      A active strip 2 is 13--24
      Active strip 3 (1) to 25-36
      Active strip 4 (right 2) is 37-48
      Active strip 5 (lower right) is 49--60
      Active strip 6 (lower left) is 61-72

      backpack and parcel grid number:
      The number of the backpack from right to left is: 4, 3, 2, 1, 0 ~
      The number of the parcel grid is arranged from left to right. 4 ~
      Then the wrapping line 2: 5, 6, 7, 8 ~ below push in order.

      Mothing command explanation: /capital

      It is to be /applied, and only one spell that uses this command will be cast. The current command can be added to determine whether the spells have been applied. For example, "/CAST [Help, Combat] Fast Treatment", this macro means that when the goal is friendly, and in the battle, then fast treatment.

      A available conditions:
      help-determining whether the target is friendly;
      harm- determine whether the target is hostile;
      Combat-determine whether you are in the battle;
      stance Or stance:#-determine whether you are in the gesture or in the specified gesture;
      stealth-determine whether you are sneaking; Combination) Determine whether one or some keys are pressed.
      equipped: u003CTEM> -In judge whether a certain item is in the equipment. u003Citem>可以是装备栏编号、装备分类(武器、副手。。。)、装备子类(双手剑、法仗等等。。。) rntarget=u003Cunit>-可以把技能目标指定为Any effective goal, and you can not lose the current goal! u003CUnit> can also be "None", which is used to specify when there is no goal. "Self" is used to specify it only for yourself. For example, "/use [target = seld] thick rune bandage", only use bandages at any time.

      actionbar: u003Cnumber> -Cify whether the current action bar is listed. u003CNumber> 1, 2, 3, 4, 5, 6 ~
      pet: u003CPET TYPE or PET NAME> -PET Type is a pet type; PET NAME is a pet name. If you do not fill in the pet type or name, you will determine whether the pet exists.
      mount-determine whether it is on a mount.
      swimming-determining whether it is swimming.
      flying-determining whether it is in flight.
      otdoors- determine whether you are outdoors.
      indoors- determine whether you are indoors.
      Button: u003C#> Determine whether a specific button is used to trigger skills. u003C#> Can be 1 (left -button mouse button), 2 (right mouse button), 3 (mouse buttons 3, that is, the mouse roller is pressed downward, not upward or downward), 4 (mouse buttons 4, multi -key key Mouse -specific), 5 (mouse buttons 5, multi -key mouse). The default is 1.
      -Determine whether you are guiding spells.
      : Spell Name-Judging whether you are guiding specific spells.
      exist-determine whether the specific target exists.
      DEAD-Determine whether the target dies.
      stance: u003C#> -The judge whether it is in the gesture, default (just write the stance and not write the number as the default). The shadow form of the pastor, the thief's stealth is 1.
      Warriors: 1 battle, 2 defense, 3 violent
      Druid: 1 bear, 2 seal? , 3 cats, 4 travel, 5 兽 beasts/trees
      equipped: Equipment name/type/sub-type-determine whether a certain piece of equipment is in the equipment. For example, "/CAST [Equipped: Wand] shooting", this macro means that if it is equipped with a wand, use shooting.

      /

      S continuous click can be applied to specified spells in order. If a spell fails, the later spells will not be applied.

      The conditional selection:

      RESET = u003C#> or Target or Combat or their combination, which are the same as "/cast".

      It briefly introduce the role of u003C#>/target/combat.
      u003C#> -The number of numbers, generally 1 to 1800, the unit is seconds. / reset = 120 tribal emblem, the will of the undead, the function of this macro is to first use the tribal emblem and then use the will of the undead. If the will of the undead after 120 seconds is still not applied, then the tribal emblem is still used. However, RESET = u003C#> will always start when you cast the last spell.
      target-to the macro when the target is switched.
      Combat-reunited to macro at the beginning of the battle.

      All conditions can be added to the opposite effect in front of all conditions! For example, "NoCombat", judge whether you are not fighting.
      ",", which is equivalent to the previous AND. For example, "/CAST [Help, Combat] fast treatment", the meaning of this sentence is the goal as a friend and use fast treatment during battle.
      "/" is equivalent to the previous or.

      /
      Randomly cast spells, such as "/ deformation: pig, deformation: sheep, deformation: turtle". (I change ~ I change ~ I change!)

      /use
      using items or equipment, no longer need to specify the number. For example, "/use thick text cloth bandage".

      /userandom
      then uses the specified items.

      The target selection:
      /
      The hostile target.

      /
      S selection of a friendly target.

      /
      The goal to select a teammate.

      /
      The goal to select a teammate.

      /
      S selection of the previous goal.

      /
      S selection of the last hostile target.

      /assist
      .

      Pets:

      /Petattack
      Pet attack.

      /petstay
      The pet stops.

      /petfollow
      Pets follow.

      /
      Pet passive form.

      /
      Pet defense form.

      /
      Pet attack form.

      / spell name
      Pet spell automatic cast.

      / spell name
      Pet spell automatically applied.

      /focus
      has always locked a target ~ For example, combining this command with pet attacks as a macro. For another example, your current pet is MM, and use this macro to attack MM to attack a soldier, and then you switch the target and let the MM cast temptation. At this time That warrior.

      # show u003Cspell name/item name>
      This this command allows your macro to display the icon of specified spells or items.

      /
      to cancel buff ~ such as "/ Olympic Wisdom".

      /stopmacro [option]
      to stop the macro, you can add conditional judgment. There is a special example here:
      /cast [haRM] Transformer
      /stopmacro [noharm]
      /p is turning%T sheep! Don't touch it!
      If deformation fails, it will not speak in the team.

      /click
      Click? Looks like it. How to judge the event like "/cast".
      instances:/click [PET: Void Walker]
      The key content to be said: "", 1 can be changed to 1-10 any number, which means 1-10 of the pet skill bar.

      . Finally, send you two macros:
      /console set "50"
      The long distance of "TAB" to select the target to 50 yards.
      /console set "50"
      This setting "TAB" at the longest distance to select the goal behind it is 50 yards, but it is not recommended to do so, 20 is enough.

      The experience and small problems of learning and practice of this post
      This experience and small problems of learning and practice, finally you can use simplified characters, I am really not easy. TF play, so there are traditional characters below, the skill name is in and out ...

      The first talk about experience:
      1. Do not directly copy other people's code to the following files:
      "disk Faculty: Program Filesworld of Warcraftwtfaccound account name server famous figure name Macros-cache.txt "
      is easy to get problems, I have encountered 2 lines of code, and they are not input in the game. .. =

      2. Add a "#" to Hongli. It is very convenient to see the skills, especially "3 sucked" the kind of macro. If you start unfamiliar with the shortcut key, you can look at. r n3. Don't add points ";":
      The people who are stained with the writing code, do not add one word at the end of the word ";" The whole body is uncomfortable ... Example:
      #
      /[] reset = conbat/target Life siphon, pain curse, corrosion, sacrifice, absorb life, absorb life;
      /cast [modifier: alt] Dive the soul; [modifier: ctrl] absorbing mana; [modifier: shift] to absorb life;

      This is a wrong demonstration, add ";"; Remove ....

      4. The icon of the macro, please try to select the first "question mark icon" in the panel. ? "If you look at Macros-Cache.txt, the icon name is" INV_MISC_ "

      #
      / n/ cast [] protection shadow enchantment; [modifier: alt] Death will

      This macro is on the fifth grid of my skill bar 1, press 5 is dark defense, and alt 5 is anti -terrorism.
      In the future, the question mark icon shows the icon of "protective shadow enchantment", which will display the skill CD. When you press "ALT" (note that it is not "alt 5"), the icon has changed to "Death will", And show the CD.
      The experience of the macro in the experience 3 in the experience of the "Death will". It is convenient to see which skill should be applied now. Moderator .. Hong Macro
      I believe many people know the slope "/" and emoji commands in WOW. Macro can connect these commands according to their own conditions, such as:/kneel is let you kneel down down Action and/SA Y is the most basic dialogue action
      Is we now string them up with a macro:

      The first line content: "/kneel"
      If you do n’t marry me, then I will not get up for a lifetime ... "
      It, your character will kneel first and say:" If you don’t marry me, then I will not get up all my life ... "

      Mache can apply the "/" and expression commands that have been defined in all WOWs. What is more terrible is that the macro can even apply the magic and skills of the characters,

      The "/CAST" command is applied in the definition process of the macro. The following is known as some commonly used commands:

      /assist. This is a assisted attack command. When your team faces several enemies at the same time, as long as you click your teammates (usually the soldiers in the team), and then use this command, your goal will become the target chosen by the warrior. Everyone concentrates the firepower to destroy one!

      /cast is a command to use skills. When you enter the/CAST skill name (skill level) in the macro command, just click on Shift and click the icon you want to enter with the mouse. For example, when you are a warrior, when you want to make a macro with a fighting roar, you can enter the icon of/Cast Battle Shout (RANK 1) or just hold down Shift and click Battle Shout. Of course, you can enter a few skills on a different row, so when you use this macro, a few skills will be released together, and you don't need to press a few keys like octopus at the same time.

      %T. This symbol may often appear in your macro command. It is a code that represents the name of the person you currently selected. For example, you write such a sentence in Hongli. (Note: You need to add an empty grid later.) "/G %t, the weather is really good today, are you interested When you press this macro, you will say, "Stupid, the weather is really good today, are you interested in using me to mushrooms with me ..."

      /target This is a automatic selection goal Order, you can enter/target (xxx) in Hongli, then when you press this macro, you will automatically select this target called XXX.

      /in this is a delayed command. The time is in seconds. At the same time, it does not support attack instructions. Format:/in 3 dance in three seconds to dance, such as/in 3 dance, which is 3 in 3 in 3 in 3. Dance after second,
      /say start!
      /in 3 say 3s later
      /in 6 say 6s later

      : Advanced tutorial
      n n n n n n n n n n n n n n n n n n n n n n n n n n R n Some useful Macro

      1. Allow you to switch between the window and the full screen state

      /script setcvar ("gxwindow", 1 -getcvar ("gxwindow"); n2. For the mage, there must be: replace "X" to your current deformation level (the same below); use it to replace the deformation skills. When you use it outside the team, you will get information "You are not in the team.", But in the team, other companions will understand the deformation goals you will release.

      /p sheeping >>> %t u003Cu003Cu003C
      /reast polymorph (rank x)

      3. As a warlock, this is a macro that uses in the team: first converting the goal into a target of a monster or a tank is attacking, and then ordered the pet to attack forward and follow a weak curse.

      /assist Team or the name of the tank
      /scripttattack ();
      /cast curse of weakness (RANK X)

      4. Switch the weapon from the backpack and bag

      /script if (not (not ()) then (,);

      (); end r
      bag nbag # -Which bag of items are used (0, 1, 2, 3, 4.0 is a backpack)

      slot# -position in the bag (from 0 to top to left)

      equip# -16 is the main weapon, 17 is the secondary weapon

      5. The person you designated in this macro treatment team will treat yourself if you are not in the team. Then switch the goal back to your last enemy. At the same time, it will use a team to remind teammates which one you will treat.

      /script if (unitname ("target") ~ = nil and ("player", "target")) then

      ("heart (rank x)") ("Incoming Heal to %T", "Party") Else

      ("player") ("heal (rank x)"); End

      6.加速任务显示速度rnrn/script QUEST__GRADIENT_CPS = 600000 rn/script ("QUEST__GRADIENT_CPS") rn/script DEFAULT_CHAT_FRAME:("quest text will scroll faster now"); r n
      7. Eliminate the time for waiting for the task

      /script ()

      8. This macro can automatically escort the player on the road to do tasks.

      /assist [player name]
      /cast spell (RANK X)
      /target [player name]
      /follow [player name] n n n n n n n
      9. Switch the main and auxiliary weapons, see Article 4

      /script (16); (17);

      10. When there is no goal or the goal is the enemy, add magic or treatment to themselves.

      ("Spell name (rank x)");

      if ((((((())) and (not ("player", "target"))

      then

      ("player");

      end;

      ();

      11. Switch the two -handed weapon and one -handed shield or waving weapons with both hands

      /script (17); if (()) then

      (4,2); (4,1 ); (16); else

      (4,1); (16); (4,2); (17); End

      12. Set "real mouse vision"

      /script (ARG1);

      13. Switching close -range skill column and remote skill bar

      /script Current_ACTIOR_PAGE = 2;
      /script ();
      /cast (Justque the left click)

      /scriptcurrent_actionbar_page = 1;
      /script ();
      /cast (just used the left call)

      14. The priest adds blood to his teammates, such as the No. 1 key to add blood to the first teammate, and the second key to add blood to the second teammate, eliminating the operation of the mouse

      Push in order, from the first person to the last

      to add blood to teammates:
      /script ((1))
      r n
      Inned blood to teammates:
      /script ((2)) (heal (rank x)) ())

      n/script ((3)) (heal (rank x)) ())

      15. One -click solution to feeding pets: This macro will take out food to feed pets from the first position in the leftmost bag. If the location is located

      has no food, it will automatically open the bag.

      /script if (not .incombat) then if (not (4, 1)) then

      openbag (4); else ("feed pet"); (4, 1); End End

      16. Warlock macro

      1) If the target life is greater than 20, release the extraction of life spells, otherwise the soul is extracted.
      /script if (("target")> 20) then ("Drain Life (RANK X)") else

      ("Drain Soul (RANK 2)") end;

      2) The cursed version of the weak
      /script if (unitmana ("target")> 0) then ("Curse of tongues (RANK X)") else

      ("" Curse of weakness (RANK X) ") end;

      17. Treat yourself first, and then automatically select the last enemy
      /target pugar // R n/CAST LESSER Heal (RANK 1) // Exhibit secondary treatment of Rank1
      /script (); // Re -select the enemy you just selected
      /script (); Right -click the enemy

      18. For a very useful macro for a warlock: first convert the target into a monster or the tank is attacking the target, and then order the pet to attack

      , Follow a weak curse.
      /assist Team or the name of the tank
      /scripttattack ();
      /reARSE of Weakness (Rank x)

      19. After that, remind others that they may be beaten by being strange. If they do not add a delay, there is no effect.
      /p healing %t, need 3s, do run away
      /reast heal (RANK 1)
      /in 4 p cured %t 300hp, please notice the enmies turn on me^ _^

      20. Automatically escort friends on the road to do tasks.

      /assist [player name]
      /cast spell (RANK X)
      /target [player name]
      /follow [player name]

      three: advanced tutorial

      wow's macro function library can go to these two places to check:

      ] /index.php/ward_of_warcraft_api

      The function of the function is relatively simple. Those who learn from programming are relatively easy to use. The basic usage is to use/script in front of the function. For example, r. n/script current_actionbar_page = x;
      /script ();
      is to turn your shortcut column to the X p. It is useful and convenient, such as opening all bags at a time:

      /script ();

      The function of closing the bag with the closing of the bag can also be realized at one time:

      /script closebag (0);
      /script closebag (1);
      /script closebag (2);
      /script closebag (3);
      /script closebag (4);

      how to do it, will you open the bag one by one when you sell things?

      The most horrible thing is that the macro of WOW can be judged by conditions. Look at the following two:
      /script if (()> = 3) then ("RANK 2)"); Else if (

      unitmana ("player")> = 40) then ("rake (RANK 1)"); End END

      Implement the skill (unattended) according to the COMBO points, and the call of the angle

      The macro of LL:
      function (,)
      local spellid = 1;
      local spellbook = "Spell";
      lockname;
      spellname = (spellnamed, spiellyd, space, spienamed, space, spking, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, space, (spellnamed, space,
      While (SpellName) Do
      if ((Spellname ==) and ((not) or (rank) or (rankname =

      ))) then return speed; (Spellid, Spellbook);
      end
      RETURN -1;
      end

      The can define the function by yourself, and the cycle like WHILE, Do can make you think of it What is the possibility of N applications?

      . Unfortunately, the official does not seem to provide a delay macro, so the use of a variety of delayed skills in the battle cannot be achieved (unrealized skills can be achieved at the same time), and it can be used at the same time. Similar to other weapons -use skills or spell -replacement of weapons can not be achieved,

      (so -called to achieve sword shield warrior to change the two -handed weapon MS and then replace it, but it is not possible), but Friends using cosmos can use/in to achieve non -combat command delay. For example,
      /in 3 say hi will say Hi after 3 seconds.

      /in 6 /script (arg1);
      will run forward after 6 seconds.

      . Although spells and skills cannot be delayed with/in instructions, this is already very powerful. For example, you can compile macros of various sports, such as after pocket, turn around, etc. It is estimated to be essential when PVP.

      The macro of the two -handed weapon warrior written by a player:
      /script (0, 2); (11); (11);

      (12); (12);
      /cast Thunder Clap (Rank 1);
      /script (arg1);
      /in 1/script (arg1); (); n
      The condition of this macro: Put the recovery medicine in the second grid of the big bag. The 11th and 12th shortcuts are one -handed and one shield shortcuts.

      In after using this macro, the character automatically drink recovery medicine, equip the shield, use Thunder Clap (these three actions are performed at the same time), turn to the automatic running key to escape after turning back 180 degrees backwards. The skills can be changed by yourself as needed. How about, is it exaggerated, haha.

      The useful macro:

      to switch equipment,

      to switch one hand with both hands and change the second fast column, the 11th speed column 11th , 12 are one -handed and one shield shortcuts
      /script (11); (11); (12); (12);
      /script current_actionbar_page = 2;
      /script ();
      In one -handed hand switching with both hands and returning to the first fast column. The shortcut column 12 is the shortcut of one -handed weapon
      /script (12); (12); 1;
      /script ();

      The following is another article

      author: Return to Honor
      An auxiliary means, I hope that through the following explanations, everyone can easily edit their own macro.

      first look at the macro structure:

      /script
      if ((target)> 80)
      then
      (Level 4 4 (Level 4 4 )
      (Use fireball, Emote)
      else
      (Olympic Missile (Level 2))
      (using Owish missiles, Emote)

      This is a macro without a delay function. Macro with a delay function will be explained later. Chinese means
      . If the health of the target you choose is greater than 80, you will perform level 4 fireballs and inform people around you. In the execution of a class 2 missile, inform the people around you used this action for the target.
      is worth noting that, such as (using fireball, emote) in %T), if you replace it with party, you can see
      . It is only visible in the team.
      The function used in this example:
      (target) Return to the target health
      . This is the same. If you do n’t judge, it is directly
      )
      (Use fireball, emote)

      Note that this article focuses on the introduction of ideas!
      The following are some commonly used macro
      mart to move backwards, write () to pay attention to the back of each sentence when used;
      Stop back and retreat
      Move left to the left
      to stop the left move
      to the right
      stop right move
      n Stop the left turn
      to right to right
      stop right to turn right
      jump ()

    Leave a Reply