RIFT Macro Commands – Basis For RIFT Macros

rift macros RIFT Macro Commands Basis For RIFT Macros

RIFT Macro Commands – Syntax For Saving RIFT Macros

There are currently a few basic rules about RIFT macro commands that you must keep in mind when creating your macros:

  • Only one communication command per macro will execute. (say, yell, tell, etc.)
  • Only one ability command per macro will execute. (spell or attack ability)
  • Only one emote command per macro will execute.  (sit, cheer, dance, etc.)
  • There can be more than one wait command.
  • The preceding slash “/” character is optional in RIFT macros.

In some cases, when listing multiple commands, though the macro may be correctly constructed, an error “Can only cast one ability per macro.” may still be shown.  You can use the macro command “suppressmacrofailures” in order to keep the error from showing.  (This error suppression does not seem suppress the chat window error message but does suppress the red UI screen message.)

NOTE:  When a macro is executed, the first ability command that is not on cooldown will be triggered.  It is possible to construct macros with more than one ability even though only one of them will be triggered/executed.  Be sure to position ability commands that have cooldowns higher in the list.  That way, the execution will fall through to the lowest command in the list unless one or more of the previous commands in the list is available to be triggered.

See the RIFT Macros page for an example of a macro containing multiple ability commands.

RIFT Macro Commands – Pre-defined variables

Pre-defined variables are used in communication commands.  The values listed below are replaced with dynamic information about the current target.

  • %t     Replaced with the target’s name.
  • %r     Replaced with the target’s race.
  • %o     Replaced with the pronouns him or her, depending on the selected target’s gender.
  • %p     Replaced with either his or hers, depending on the selected target’s gender.
  • %s     Replaced with either she or he, depending on the selected target’s gender.

Here is an example of how this might look using the following macro:

rift macro commands predefined variable macro RIFT Macro Commands Basis For RIFT Macros

You will see something like the following:

 

rift macro commands predefined variables result RIFT Macro Commands Basis For RIFT Macros

RIFT Macro Commands – Target Modifiers

  • @mouseover / @mouseoverui     The @mouseover/ @mouseoverui targeting works when the cursor is hovering over party member portraits, pet portraits, and names in the raid panel. Target-of-target portrait remains elusive.
  • @self    The specified command will affect the player (you) regardless of the current target.
  • @mark <number>    The specified command will affect the target marked with the specified number.
  • @lasttarget    The specified command will affect the last target.
  • @focus    The specified command will affect the focus target regardless of the current target.
  • @pet     Used for casting beneficial spells on your pet. While @pet does work, @pettarget does not work.

Here is an example macro of using one of the modifiers listed above:

rift macro command target modifier macro RIFT Macro Commands Basis For RIFT Macros

The result of using this macro will taunt my focus target instead of my current target.  In the image below my current target is a “Silver Paw” and my focus target is a “Coastal Stalker”.

 

rift macro commands target modifier result RIFT Macro Commands Basis For RIFT Macros

RIFT Macro Commands – Key Modifiers

Key modifiers are useful for creating conditions for which command lines to use in a macro based on the modifier keys “ALT”, “CTRL”, or “SHIFT”.  The syntax for each of these is as follows:

  • [alt]
  • [ctrl]
  • [shift]

 

Here is an example of a simple macro to showcase the usage of these modifiers:

rift macro commands key modifier test RIFT Macro Commands Basis For RIFT Macros

When I press the ALT key and click the macro icon I created, the following is the result:

 

rift macro commands key modifier result RIFT Macro Commands Basis For RIFT Macros

 

NOTE:  Using these will only work if the modifier/command combination is not already an existing key bind.  You will have to check your key bindings in the UI options to see what bindings already exist for these modifiers.

Note that when key modifiers are used to create, for example, self-casting macros that casts on the player if a key modifier is held, and casts normally otherwise, they will generally return a UI error. For example:

#show Healing Flame
cast [alt] @self Healing Flame
cast Healing Flame

This macro will, when Alt is held, cast the spell on the player, but by default will give the error “Can only cast one ability per macro.” You can deactivate errors (only in the current macro) by adding the /suppressmacrofailures command.

NOTE: The order of the commands are important since placing a key modifier command line after a command line that does not use a key modifier will always execute even if the modifier key is being pressed at the time of execution.  For example, if the above macro was changed to the following:

#show Healing Flame
cast Healing Flame
cast [alt] @self Healing Flame

The command line “cast Healing Flame” would always get triggered and cast onto the current target even if the ALT key was being pressed.

 

 

 

Incoming search terms:

  • rift macro commands
  • macros for rift
  • macro marksman rift
  • rift commands
  • rift macro rules
  • rift macro suppress
  • rift macro cast modifier
  • rift macro commands taget name
  • rift cast @mouseoverui
  • rift harold marking macro