It's as the poster above me said. Macros in FFXIV don't allow for any sort of conditional or branching logs. No ifs, fors, or whiles.

Macros have to be strictly procedural and cannot call other macros, which is to prevent situations where someone has the game place itself, or something.

You can do some cool things with them, like swap skills onto your hotbars or to switch hotbars, but for the most part, many macros are generally simple. Like to easily place a marker or to handle a crafting rotation. Spam some text in a dungeon, etc.