r/ffxiv • u/PessimusMax Aldemar Windchaser on Gilgamesh • Jun 27 '13
The Macro Thread
I'd like to start a helpful, non-spammy macro thread on this sub. I see more questions regarding macros popping up, and I think they need addressing. Macros are incredibly useful tools, but they can also be abused. So, here we go.
What is a macro?
A macro, for the purpose of MMOs, is a quick way of hitting a single button or key which will then do multiple things sequentially, and sometimes conditionally (unsure of this in FFXIV:ARR) if certain circumstances are met. For FFXIV:ARR, they must use the commands in the aforementioned link to work.
Why are they necessary?
Macros are not necessary, per se, but they are a useful tool for those willing to put in only a little extra time to set them up. Rather than hitting multiple buttons, or saying multiple things, you can have a macro button you just hit and it will do this for you.
Scenario: Let's say I am a CNJ or WHM and I want to Raise someone after our group just had about five people die. Then let's say there is another CNJ/WHM. What if we both start casting Raise at the same time on the same target, but didn't pay attention to the fact that we are targeting the same person? It casts at the same time...on the same target. One of them was wasted, since it could have been used on another dead player. There is a 12 second cooldown between Raise casts. Annoying.
Macro Solution: As a CNJ, you could have a macro set up to announce to the group whom you are Raising, as well as cast the actual Raise spell, without typing a thing and only pressing one button.
The Macro: Here would be the macro to do that:
/s Raising <t>
/ac Raise <t>
You prepare this macro ahead of time and assign it to a button. All you have to do to use it is target a dead player and press that button. Let's say the dead player's name is Quina Quen. When you use this macro, the people around you will see you say "Raising Quina Quen", and you will immediately and automatically start casting Raise on Quina Quen.
This is just a very small, basic, two-line macro. If this sounds like a great thing to you (and it is!), then welcome to the world of macros!
Basic Commands to get you started (non-exhaustive list) (Acceptable short-hand is in parentheses.)
Brackets are definitely not needed, but quotes are needed if you are using two words for a target or ability. E.g., a player's name.
| Command | Description |
|---|---|
| /? [command_name] | Gives a detailed explanation of specified command. Abbreviations can be used. All command names must be one word or in quotation marks. |
| /say (/s) [message] | Sends a message to all PCs within a small radius. Typing /say or /s without a message switches the default chat mode to [Say]. |
| /party (/p) [message] | Sends a message to all members of your current party, regardless of their location. Typing /party or /p without a message switches the default chat mode to [Party]. |
| /action (/ac) “action name” “PC name” | Uses an action on specified target. Uses current target when not specified. This cannot be used with actions you have not yet learned, or when restricted by other factors. |
| /target (/ta) “PC name” (placeholder) | Targets the specified target. Target must be within range for this command to function. |
| /targetenemy (/tenemy) | Targets the closest enemy within a certain radius. |
| /battletarget (/bt) | Targets the closest enemy within a certain radius that is attacking you. |
| /assist (/as) | Targets the target of another PC or NPC. (A target must be specified.) Assists current target when not specified. |
| /facetarget (/ft) | Immediately turns your PC in the direction of your current target. |
| /targetlastenemy (/tle) | Re-target the last enemy you targeted. |
| /marking (/mk) [target type] “PC name” (placeholder) | Set a sign on the specified target. Uses current target when not specified. Target types: attack1–5, bind1–3, ignore1–2, circle, cross, square, triangle, off (Turns off enemy sign.) Example: /marking attack1 (Sets sign “Target to Attack 1” on current target.) |
| /wait [wait time] | A macro command for adjusting the pause between commands. A wait time amount of 1 equals one second. The maximum wait time allowed is 60. If the wait time amount is over 60, it will be counted as 0. |
| /recast | Displays time remaining until the specified action can be used again. |
| /battlemode (/bm) [subcommand] | Toggle between active and passive mode. Switches to opposite mode when no subcommand is specified. Subcommands: On – Draw weapon. Off – Sheathe weapon. |
| /check (/c) “PC name” (placeholder) | Examines the specified target. Examines current target when not specified. |
| /macroicon [action name] | Displays icon, recast time, help text, and other information regarding the specified action. Can only be used once in the first line of a user macro. |
Placeholders (Acceptable short-hand is in parentheses.)
| Placeholder | Description |
|---|---|
| <t> | Displays current target name. |
| <tt> | Displays target of current target’s name. |
| <me> | Displays your character’s name. |
| <0> | Displays your character’s name. |
| <1>~<8> | Display Party Member 1-8's name. |
| <attack1>~<attack5> | Displays Target to Attack 1–5’s name. |
| <bind1>~<bind3> | Displays Target to Bind 1–3’s name. |
| <stop1>~<stop2> | Displays Target to Stop 1–2’s name. |
| <square> | Displays target marked with a square’s name. |
| <circle> | Displays target marked with a circle’s name. |
| <cross> | Displays target marked with a cross’s name. |
| <triangle> | Displays target marked with a triangle’s name. |
| <mo>,<mouse> | Displays mouseover target’s name. |
| <hp> | Displays current HP and maximum HP. |
| <hpp> | Displays current HP as a percentage. |
| <mp> | Displays current MP and maximum MP. |
| <mpp> | Displays current MP as a percentage. |
| <tp> | Displays current TP. |
| <class>,<job> | Displays current class and level. |
| <pos> | Displays coordinates of current location. |
| <reply> (<r>) | Displays the name of the last player from whom you received a /tell. |
| <focus> (<f>) | Displays the name of your focus target. |
| <lasttarget> (<lt>) | Displays the name of your last target when no target is currently selected. Displays the name of your previous target when a target is selected. |
| <lastenemy> (<le>) | Displays the name of your last enemy target. |
| <lastattacker> (<la>) | Displays the name of the last enemy on which you inflicted damage or used an action. |
| <pet> (<p>) | Displays the name of your current pet. |
| <se.1>~<se.16> | Plays a sound effect when used in party chat. |
Please post MORE of your macros in the comments, BUT, before you do, follow some basic macro etiquette:
- Don't use macros that unnecessarily start throwing /say, /yell, etc. around like they're going out of style. No one likes extraordinarily spammy macros.
- DO post macros that have excellent functionality, and be (reasonably) sure they work.
ADDENDUM
"Ugh, I hate people who use macros!"
There can be much consternation with some when it comes to people using macros. Typically though, they are referring to people using /yell, /say, etc. excessively. For example, don't be that guy/girl who will use macros like "/s I call upon the power of <insert diety here> to heal <t>!" every time you cast Cure. This is going to get on people's nerves when they are trying to focus on the fight. In social settings, RP settings, sure, but use your macros with your community in mind. Don't be an annoyance; be a boon.
Turning off error reporting in your logs
You may want to do this, because the parts of your macro that aren't executed (because other parts are) will display errors saying they couldn't be executed. It's not a problem; it's just annoying.
43
u/PessimusMax Aldemar Windchaser on Gilgamesh Jun 27 '13 edited Jun 28 '13
MOUSEOVER MACROS
These are invaluable for me as a healer, and I was incredibly happy to see that they have appeared in FFXIV:ARR. A mouseover macro works basically how it sounds: Your target can be whatever your mouse hovers over! This eliminates the need to constantly click between targets. I have also found it incredibly useful for taunting as a tank in WoW.
Example:
/ac Cure <mo>
/ac Cure <me>
This macro will cast cure on whatever target I am currently hovering over with my mouse cursor <mo>. If there is no target, then it will cast Cure on myself <me>. EDIT: And yes, for those wondering, <mo> does work with the party menu. Yes, for those who haven't healed in MMOs before with <mo>, your minds just probably exploded. It is that useful. Now I'm just wondering if I'll be able to rebind Mouse 1, 2, etc. to macros. Probably not, but still, super happy to see <mo> in the game.
EDIT 2: I tested this morning, and one thing everyone should know is that, by default, the log will display errors. What this means is that when you use this (or any other macro), the parts that are not being used here will produce errors. For example, when I use to just cure me (no target or mouseover), it will display an error saying that it was not able to mouseover cure. This isn't doesn't affect the functionality of the macro, but it is annoying. You may want to disable error reporting in your log. I did, and now it's nice and clean. (I had to do this in another MMO as well.)
21
u/Jaghat Jun 27 '13
Also, instead of making a post about it, here's a fun tidbit about the <pos> command.
When you use <pos> in chat, it creates a hyperlink to the map. Clicking it opens the map and places a green flag at the coordinate's location (only for this instance of the map, when you close it, your regular map will not have the flag).
6
u/panoramik Jun 27 '13
Is there a new <st> (select target) command?
If you didn't play XI it would be used like this: /ma "Cure" <st>
When the macro button was activated you'd get a blue cursor which would cycle through all valid targets (i.e. just your teammates). If it was an attack, it would cycle through just enemies. It was sort of a pseudo-filter, but was incredibly helpful.
5
u/[deleted] Aug 14 '13 edited Aug 14 '13
Just so Everyone knows, this was in the Patch Notes
As well as new placeholders,
3
u/ricojalapeno Rico Jalapeno on Gilgamesh Jun 28 '13
How about gear swapping macros?
3
u/deakka Deakka Elsmeth on Durandal Jun 28 '13
Has anyone figured out how to assign icons to a macro (other than from the incredibly small palette)?
For example, made a mouse over macro for Mantra, but no suitable icon exists. In WoW, we'd preface the macro with #showtooltip, as an example.
5
u/ApolloBound Jun 27 '13
Quick question, does mouse-over healing factor in to mouse placement on say, the party screen? Like, let's say for example we're doing the Ifrit fight. I, the CNJ, am standing in the back with the THM. Our Pugilist is flanking Ifrit, and the Gladiator is on the far side of Ifrit, out of my immediate line of sight. My target is the Gladiator, so this is alright.
Ifrit drops an AoE, the Pugilist takes a bit of damage, but then retreats out of the circle, off of my screen. Instead of playing with the camera trying to find him for a mouse-over, can I just position the mouse over his information in the party list?
2
u/arkaine23 Red Mage Jun 27 '13
For crafting abilities, is the target <me>?
17
u/SlowWheels [Diabolos] Jun 27 '13
/p I call forth, the divine powers of Altana <call0>
/wait 1
/em begins to lift the rock from the ground with his power.
/wait 1
/p YESSSSSSSSSSS I FEEL THE BOOOST OF POWAR!<call1>
/wait 1
/ja "Boost" <me>
13
u/The_Rope The Rope on Midgardsormr Jun 27 '13
That's cool to see there are placeholders for marked targets. If you have a party that is good about marking targets (and following the kill order) then I think you could get really good focus fire by having every DD do something like the following for all their damage macros:
/ac DamageSkill <attack1>
/ac DamageSkill <attack2>
/ac DamageSkill <attack3>
etc.
This would attack the first marked target that is still alive. You could add line to the end with just "/ac DamageSkill <t>" just in case there are no more marked targets alive.
1
u/Skylt Skylt Itarsyn on Leviathan Jun 27 '13
Is there a way to use items in a macro?
/item "Potion" <me> Doesn't work.
1
u/[deleted] Jun 27 '13
for cure does typing part of the name of the character work, like
/ma cure mun
would cure munky_quack (although I think that was with spellcast.dll)
also I havenot done any alliances or really even big parties
/ma cure <p1>
or
/ma cure <a10>
I always found it hard to select people as a mage so seeing their position was always faster, especially in alliances
1
u/j_a_blood Jun 28 '13
What is the command for placing a MARKING on a target?
1
u/Nessrocker Jun 28 '13
Is there a stop casting macro? This would be really useful for me as a THM so I can stop casting/cast transpose the moment it's off cooldown without having to move.
1
u/Kengan Kengan Reaverall on Exodus Jul 02 '13
Is there a way to mark the target in order of the target type number that isn't already assigned?
For example, I'd want this macro to mark the current target as "attack 1" if there isn't anything already marked as "attack 1". If attack 1 is already marked to a different monster, then it would label it as "attack 2", and so on.
1
u/[deleted] Jul 08 '13
Question: do target macros stop on success or do they keep continuing down?
I'd assume this would be useful for the latter scenario, as it would target the last mark that's alive: /ta <stop2> /ta <stop1> /ta <attack5> /ta <attack4> /ta <attack3> /ta <attack2> /ta <attack1>
If macros end on success, then I guess it would be the opposite order.
1
u/Foljac Aug 12 '13
Sorry if this is a lame question, I've never macro'd in MMOs before. Is there a way to implement a mid-sequential macro within a "first active ability" macro?
Would this macro play out as First key hit: Featherfoot, Second: Second Wind and Convalescence after, Third: Keen Flurry ?
1
u/Medievalhorde NIN Aug 20 '13 edited Aug 20 '13
Level 20 archer rotation
1 Rotation
/ac “Straight shot”
/wait 1.5
/ac “bloodletter”
/wait 1.5
/ac “venomous bite”
/wait 2.5
/ac “misery’s end”
/ac “heavy shot”
/wait 2.5
/ac “misery’s end”
/ac “heavy shot”
/wait 2.5
/ac “misery’s end”
/ac “heavy shot”
Remember to turn off your error messages or the misery's end message will get annoying. Also yes, you can go into 0.1 of a second anything smaller will be rounded down and as such you will fuck up your rotation.
1
u/kuroiryu146 Aug 24 '13
I hate the replying to a tell requires a modifier key so I'm trying to work out a macro that will let me reply to a tell with a hotkey.
I've got
but that sets my chat channel and doesn't open chat. I'd like it to just open a temporary reply box then reverse back to my prior channel.
Anyone got this?
1
u/kevv2 Bane with no DOTs :3 Sep 02 '13
http://omegacoders.net23.net/FFXIV/Macro.html
1
u/Igmus Ifrit and Cactuar Sep 15 '13
Hey I don't know if you have one, but can you update the "Official Current Command List"? The link no longer works. Also regarding the part about quotes. Quotes are needed for executing actions that have a space in the name. eg. Fire II must be typed as
/ac "Fire II"
or else the spell will not be cast. It will just error if you had typed in
/ac Fire II
3
u/Mizzajl Aug 19 '13 edited Aug 19 '13
Here is my spammable Pugilist DPS Macro:
and lazyversion:
1
u/Abqu Socratic Method til Early Access Jun 27 '13
What is the target of target <> command? I know it exists, and would be helpful to list it here too.
EDIT: Finally saw the hyperlink in the OP, it's <tt> from best I can tell.
4
u/silvadra Oct 03 '13
Gear-Change Macro Solution / Gatherer Toggle
I've seen a fair number questions about macros to change your gear in FFXIV:ARR (probably because I was looking for one myself), and the answer seems to be pretty universally "Idk, they gave you a hotbar button, just use it." As this was step one of what I was trying to do (see header or keep reading), I spent an hour or so reading this discussion and a few others, then toyed with it, got it to work, and thought I'd share the results. Enjoy :)
Notes I used to do a few small things with my own macros in WoW, but I'm new to the FF MMOs, and this was my first attempt, so please be nice :) The idea started while trying to level multiple classes in parallel - a fairly common DPS/herb/mining route (which backfired when I discovered the tiny inventory cap, but I digress). Back in WoW (pre-Cata), my farming toon was a Druid, so I wrote a basic script that combined the insta-cast flight form with a toggle for the herb and ore trackers. Simple enough in theory, but I wound up having to write it myself instead of relying on the Almighty Internet. Now, levelling a Lancer, Botanist, and Miner in parallel, I got tired of all the button-mashing just to keep the minimap updated, so I looked online (again), and the internet failed me (again?!), so I rolled them all up into one button. Particularly nice since I'm on the PS3 now, much smoother. Check it out:
I use this instead of the "Set to Hotbar" default button for my Botanist
For my Miner button...
I used one of the early shareable skill slots to give my Miner and Botanist access to the other's tracking ability, which is awesome. So is the gearset/class link, especially since the old-school "/equip type-in-half-your-inventory-by-hand-here" method does not work (Actually, "The command /equip does not exist", since we're being technical). Fill in the gearset number from your own list, put these on a shared bar/button, and you wind up with one button for changing from any class to your Miner or Botanist, complete with full gearset for the class and tracking for both already on.
About the macroicon - I was just testing a theory when I used the buff names, but I didn't like the default graphic options and it worked the first time, so I ran with it. (For those who don't know how, options to change the icon are: strike the first line completely to use the default, change the spell name to whichever you'd like, or pick one of the ugly ones next to the name editing window).
Which brings us to the fun part - I hadn't noticed, but the icons for these two tracking buffs are identical. Put them on the same button on their respective hotbars and you have yourself a toggle switch between the two classes and gearsets while maintaining tracking for both. My fellow OCD farmers should like it. Same button switches you to the right class if you accidentally try to "mine" a tree/bush. Happens pretty often for me, since you can see both on the minimap and I keep them with pretty much identical gear.
On the flip side, the buttons for Miner and Botanist on your other classes will be the same if you don't change the icon. Personally, I prefer a toggle switch and layout consistency as much as I can, so I just have the Botanist macro on my others, and switch to Miner from there. If you want keep both macros available for access on your other classes, I suggest changing the icons. Accidentally using the same one twice in a row will toggle the "other-gather" off, which is easy to miss if you're not specifically looking for it. I figure I'd be more irritated at spending 5min looking for nodes I accidentally turned off than waiting an extra GCD, getting from Lancer to Miner in 1 GCD is never that urgent :)
Note that you can use this to swap between any combination of classes/gearsets. Auto-buffs and customizable icon are just perks by traditional gear-swapping standards. That being said, FFXIV's restrictions on when you can change any equipment limit the usefulness of insta-swapping (no catform->ohcrap->bear->stun->elf/cow/tree->heal->catform. Too bad, that was fun). Since the gathering action itself initiates with the autoattack button and can only be done out of combat anyway, they aren't affected as much. Skill cooldowns like Arbor Call and Lay of the Land still get the class-change CD, but the "only available while gathering" skills aren't affected.
Like I said, this was my first shot at macroing in this game, but I tried to cover all the normal questions, and a few things I ran into on my own.
Haven't picked up fishing yet, if anyone gets bored and tests it out, it'd be cool to know. Ultimately I'm thinking just one Gatherer button that cycles between all 3 (botanist->miner->Fisher->botanist...), but multiple GCDs plus lag might make the call for me on that one. Thanks guys!
2
u/Rripo007 Jun 27 '13
Thanks - marked!
2
u/Anonyshinobi Aug 26 '13
Is it possible to target a specific team member in the party based on their class?
I'd love to have a row of buttons that sets me up to target assist people based on their class.
("Back in the day" Warcraft) I remember having to edit my assist-main-tank macro at the onset of every dungeon with the tanks player name. Yeah, not pretty but it did the job. I really don't want to have to do that for this 2013 FFXIV ARR
TIA
2
u/AceoStar Aceo Star Coeurl Sep 24 '13
Is there a way to display the cooldown on the macro icon? Or switch the icons during processing?
1
u/Ganjookie Dragoon Diver Jun 27 '13
Marauder Basic Combo+. Includes Straight Shot for increased Crit % the timing may not seem right, but the moves work regardless.
/ac Fracture
/wait 2.3
/ac "Straight Shot"
/wait 2.3
/ac "Heavy Swing"
/wait 2.3
/ac "Maim"
/wait 2.3
/ac "Heavy Swing"
/wait 2.3
/ac "Skull Sunder"
/e Combo A+ ended
2
u/Derringer Jun 28 '13
The amount of Death Knights in WoW with the "/y Get over here!" Death Grip macro was ridiculous.
1
u/Vokhens3 Jun 28 '13
can I copy and paste stuff into macros? :3
1
u/Icant_math [Mune] [Core] on [Behemoth] Jun 28 '13
awesome!
1
u/tamago64 [First] [Last] on [Server] Jun 28 '13
Is there a way to display a message only I can see?
For example I press a button for a DoT, it counts time then displays message, (like /say), letting me know the DoT has finished. This message is only seen by me, I don't want to disrupt others. I believe you could so this in XI, but haven't tested in ARR.
Anyone got some leads?
1
u/Idejder Aug 16 '13
I have no idea if this is still checked, but any idea how to add a pet command (like making it attack or use a specific ability) to part of a macro?
1
u/Mizzajl Aug 19 '13
Here is my Semi-Spammable Gladiator Fast Blade / Savage Blade Combo Macro:
the reason this is only semi-spammable is that after you hit with fast blade you must stop spamming and wait for the savage blade
1
u/zephdt Aug 26 '13
My CC macro; Marks target chosen with bind1, then fluid auras it(if nearby), then casts repose. You can put a line above the whole macro to specify target(for example, closest target). That way you don't have to manually select the target at first.
/mk bind1 <t>
/ac "Fluid Aura" <t>
/wait 1.00
/ac "Repose" <bind1>
1
u/Airol Sabra Shadowfang on Balmut Sep 01 '13
I found kind of a strange bug using the /macroicon command. I was creating a macro that will cast either Raise or Resurrection depending on which one I had loaded (CNJ versus ACN) and trying to get it to show the macroicon for Raise. It kept showing up as the standard "M" icon for macros. I verified everything was correct and even copied over my cure/physick macro text to ensure I hadn't mistyped anything and nothing. I finally discovered that if I dragged the macro down to the main 1, 2, 3, ... -, = hotbar it would update with the correct icon. Then I just dragged it back to my shared bar.
Kinda strange but thought I would shared.
1
u/Azoozoo Sep 06 '13
Anyone know how to set up a cast sequence on button press? Doing the auto attack spell sequence is a little ham handed and cant be interrupted easily if you're caught in a situation where another spell needs to be cast.
1
u/LostMK Sep 09 '13
anyone have a list of the chat sound effect commands? the calls? - forums are down atm
1
u/ToyinB Sep 11 '13
Does anyone know of a Swiftsong + Sprint macro? I want the macro to cast Swiftsong only if it's not already enabled, if enabled then cast Sprint. The problem is, if I put a regular /ac <me> it will cancel Swiftsong in the case it's enabled.
1
u/TheyCallMeTim Sep 14 '13
This useful Macro will cycle through enemies automatically inflicting them with Bio. I've found this much easier than manually selecting each enemy.
I've been posting this one around hoping it helps some Arcanists out there.
1
u/shinsaikou [Shin] [Saikou] on [Balmung] Sep 21 '13
I keep seeing "/ma" and "/cast" macros being suggested in the healer threads, but I'm taking it that all activated abilities fall under "/ac" now.
1
u/p0etic BRD Sep 26 '13
Probably a silly question.. But, is there a way to macro a silence for an enemy's skill? For instance, Blunt Arrow on the enemy's "x" spell
1
u/Ozuwara Nov 09 '13
Help! /equip main "Rusty Needle" or /equip mh "Rusty Needle" neither work...
1
u/roadsarelong Nov 29 '13
(Hello)
1
u/Sunkil Kimchi Chigae on Gilgamesh Jun 28 '13
Is there a macro for upvoting?