wow macro say something after cast

Please replace the old information with up to date information. This may include rewriting sections to ensure they are clear and concise, and wikifying. Reason: Assumes many class abilities which have changed or been removed.

Đang xem: Wow macro say something after cast

Macrose

Useful macros
Macro commands

General guides

Beginner”s guide
FAQs
Making a macro
Wiki Formatting
Category:Macros
UI Customization

Class Macros

*
*
*
*
*
*
*
*
*
*
*

Much of this article was written by Cogwheel (WoWInterface user Cogwheel).

This is an article on making a macro. A macro is a list of slash commands. Common slash commands include the following:

/say (/s) /whisper (/w, /talk, /t) /reply (/r) /emote (/e, /em, /me) /dance

With macros, these commands can be used from action buttons, and many of them can be used at once. Each unique command goes on its own line and is written exactly as it would be typed it in the chat box. For instance, a macro that makes the player yell “Everybody, dance now!” and burst into dance would be written thus.

/y Everybody, dance now! /dance

A mostly complete list of slash commands is available at List of Slash Commands though at the time of this writing some of the new commands in 2.0 have not been added. WoWWiki is a great source of additional information for macros, especially scripts using the /run command (which will be covered later).

Note: Remember, some macros run all at once. This means that when you click the button, the macro runs each command from start to finish before returning control to the game. This has two important effects. First, if you write a macro that takes a long time to execute (like /run for i=1, 100000000 do end), the game will freeze for as long as it takes to run the macro.

Second, and arguably more important, there is no way to wait in a macro without freezing the game. This fact will become much more apparent when we start dealing with the /cast command and its ilk. Some AddOns can provide a way to issue a command at a later time, but they can only be used for “benign” functions like chatting, emotes, and issuing commands to other AddOns (though equipping weapons in combat is allowed).

If you don”t mind the game freezing, you can use this little workaround to make macros pause:

/script debugprofilestart();while debugprofilestop()<wait_time do end;

Where wait_time is the time, in milliseconds, you want to wait. You can use this with multiple /cast commands, no problem, as long as you wait for the correct cooldown periods.

1 Making a macro 2 Casting spells 2.1 Notes about spell names and ranks 3 Using items and trinkets 3.1 /use <inventory slot> 3.2 /use <bag> <slot> 4 Multiple actions with one click 5 Targeting 5.1 Other targeting commands 5.1.1 /assist 5.1.2 /cleartarget 5.1.3 /targetexact 5.1.4 /targetlasttarget, /targetlastfriend, /targetlastenemy 5.1.5 /targetenemy, /targetfriend 5.1.6 /targetenemyplayer, /targetfriendplayer 5.1.7 /targetparty, /targetraid 6 Pet control 6.1 /petattack 6.2 /petfollow 6.3 /petstay 6.4 /petmoveto 6.5 /petpassive, /petdefensive, /petassist 6.6 /petautocaston, /petautocastoff, /petautocasttoggle 7 Controlling Feedback and Question mark icon () with #show 7.1 Conditionals for #show(tooltip) 8 Other slash commands 8.1 Equipping items 8.2 Sequencing spells and items 8.3 Random spells and items 8.4 Attacking 8.5 Action bar manipulation 8.6 Removing buffs 8.7 Leaving a form 8.8 Stopping a cast 8.9 Halting a macro early 8.10 Dismounting 8.11 Saving a target for later action 8.12 Simulating button clicks 8.12.1 Action bar button names 9 Advanced Scripting 9.1 What scripts can”t do 9.2 Scripting 10 Macro options 11 Commands that accept options 12 <
Read more: wow tube a rama floating island

unit> (previously ) 13 Syntax overview 13.1 General options syntax 13.2 Condition syntax 13.3 Complete EBNF syntax 13.4 Empty parameters 13.5 Empty conditions 13.6 or <
> versus unit parameters 14 Conditionals 14.1 Complete list 14.2 help and harm 14.3 exists 14.4 dead 14.5 stance and form 14.6 stealth 14.7 modifier:shift/ctrl/alt 14.7.1 Modifier variables 14.8 button:1/2/…/5/<virtual click> 14.9 equipped:<item type> 14.10 channeling:<spell name> 14.11 actionbar:1/…/6 14.12 pet:<pet name or type> 14.13 combat 14.14 mounted, swimming, flying, indoors and outdoors 14.15 flyable 14.16 party and raid 14.17 group:party/raid 14.18 talent:<tier#>/<column#> 15 Toggleable abilities 16 Macro option applications 16.1 Using Focus 16.2 Macro Branching with /click 17 Custom icons 18 Keeping macros on multiple computers 19 Videos 20 External links

Read more: Bow Wow Outta My System Lyric S By Bow Wow, Outta My System Lyrics By Bow Wow

Making a macro

First, open up the macro window. You can do this either by opening the main menu and selecting Macros, or by typing /macro (/m) in the chat box. At the top of the window, you”ll see two tabs: General Macros and Yourname Specific Macros. General macros are stored on an account-by-account basis and are shared by all your characters. Character specific macros are…, well, you can figure this one out yourself. 😛 Immediately under the tabs is a grid of 18 boxes where the macros are displayed. Under those, there is a single box which displays your currently-selected macro with a Change Name/Icon button next to it. Below that is the edit box where you actually type the macro. Finally, at the bottom you have a number of self-explanatory buttons.

To create a macro, click the New button at the bottom of the window. This brings up another small window off to the side where you choose the icon and type a name for the macro. If you choose the question mark icon (

*

), WoW will automatically pick an icon for your macro based on what spells or items are listed in the macro. Once you have chosen an icon and a name, click the Okay button.

A few notes: You can control what icon is shown in place of the question mark with the #show commands. Although you can name two macros the same, it is better to avoid this since some functions of AddOns or even certain macro commands reference macros by name. You can also add custom icons to the list (see the Part III).

Now you will notice that the macro icon you chose has been added to the 18 boxes mentioned earlier (as much of the name as will fit is also displayed on the icon). The newly created macro will also be selected so now it”s time to start writing your macro. Click in the edit box of the macro window to start typing.

Note: Macros have a 255 character limit. Rumor has it that this is because they store macros on the servers (since patch 3.0.2).

When you are done typing your macro, simply drag its icon from the grid and place it on an action button. The macro will be automatically saved when you first try to use it or when you close the macros window. Click the button, and there you have it!

Casting spells

During the normal course of play, you aren”t likely to type many slash commands that are generally useful for macros. Sure, the occasional emote macro can make for some interesting role playing, but c”mon…There”s got to be more to it than that…

There is. Enter /cast, the most common command you will see in macros. The /cast command allows you to cast any spell from your (or pet”s) spell book by name. The simplest case is a command like:

/cast Shadow Word: Pain

This macro will cast your highest-rank Shadow Word: Pain on your target. It behaves exactly as if you had dragged SW:P onto that spot on your action bar. The action bar code recognizes the spell and will show cooldown and range feedback on the icon. In fact, if you choose the question mark icon mentioned earlier, the action bar will even show the icon for SW:P.

“Ho, hum,” you might be thinking… Why not just put the spell on your bar? Well, that”s where combining multiple commands comes in handy, and this is exactly what makes macros so useful. What if you”re a mage and you want to let your party know that you”re about to sheep something? Well, simply put the cast and /p message in a macro (there are better macros for this task——but this is a nice, easy to understand example):

/cast Polymorph /p Sheeping %t! You spank it, you tank it!

Note: Since the macro is executed all at once, the /p command will be issued when you start the cast, and will not care either way whether you have a valid target or whether Polymorph is on cooldown. This also means you can put the two commands in either order and it will have the same effect. If you want to say something only when you actually cast the spell, check out the AddOn AfterCast. AfterCast schedules a slash command to run… well… after you cast a spell (within the limitations mentioned at the end of “What is a macro?”). For example:

/aftercast /p Click the portal to get %t”s lazy butt over here /cast Ritual of Summoning

Note: The Blizzard Terms of Use do not allow for any delay-casting or scheduling of secure casting in macros. Aftercast and AddOns like it will not and cannot circumvent this restriction!

Notes about spell names and ranks

As of Patch 4.0.1, spells no longer have rank. Instead they level with the character.

Using items and trinkets

Simple answer: the same way you cast a spell. The command for using an item is (you guessed it) /use. Like /cast, its simplest form takes the name of the item you want to use:

/use Green Mechanostrider

There are also a couple other forms of the /use command:

/use <inventory slot>

This form of use allows you to use an item in the specified slot. See also InventorySlotId for lists of the slot numbers. Example:

/use 13

Uses whatever is in your top trinket slot.

/use <bag> <slot>

You can also use an item in a specific bag location. Lets say you always keep the food you want to feed your pet in the first slot of your backpack. You can easily write a macro to feed your pet as follows:

/cast Feed Pet /use 0 1

Bags are numbered 0-4 from right to left (0 is always the backpack) and the slots are numbered starting at 1 going left to right, top to bottom (like reading):

1 2 3 4 5 6 7 8 …

or

1 2 3 4 5 6 7 8 9 10 …

Trading risk of confusion for completeness, /cast and /use function in almost exactly the same way. The /cast command can use items and /use can cast spells. However, /use will actually “right click” the item. So if you are attempting to /use a trinket it will equip it if it is not equipped but /cast will just cast the buff. In the event that the trinket is not equipped, /cast will result in an error message saying “You must equip this item to use it.” This prevents accidentally changing gear. This isn”t very useful for simple macros like you”ve seen so far. However, when you start dealing with macro options and sequences you”ll be happy to know that you can intermingle items and spells in the same command.

Multiple actions with one click

In general, you cannot cast more than one spell with a single click of a macro. Most spells and some items trigger the global cooldown (GCD) which keeps you from taking too many actions at once. Even if a spell fails to cast, if it would trigger the GCD, it prevents subsequent /casts in the macro from running. This was not the case prior to patch 2.0 which is why you may still come across macros like the following:

/cast Overpower /cast Execute /cast Mortal Strike /cast Sunder Armor

Macros like this do not work anymore. As soon as Overpower fails to cast, the game will block all the other spells from casting as well, even though the GCD is not actually triggered.

There is a bit of good news, though. Certain spells can actually be cast at the same time in a single macro. Any spell that is instant and does not trigger the GCD can be followed by another cast (“Next Melee” abilities like Heroic Strike fall under this category too). The spell”s tooltip will tell you if it”s instant, but you have to use the spell (or check a spell database site like thottbot.com) to know if it triggers the GCD.

Prior to patch 2.3 it was necessary to place a /stopcasting command after the instant, non-GCD spells (but not items). The game engine assumed that after the first /cast is attempted, a spell is now in progress. /stopcasting removes this assumption and prevents the “Another action is in progress” error. Since the spell is instant, /stopcasting does not actually cancel the cast. Example:

/cast Furious Howl /stopcasting /cast Blood Fury /stopcasting /cast Call of the Wild

Note that since patch 2.3, this is no longer necessary. The above macro can be shortened to:

/cast Furious Howl /cast Blood Fury /cast Call of the Wild

Targeting

Targeting is another common task in macros. This is accomplished either by using dedicated targeting slash commands which actually change your target or by using the <

Leave a Comment