Text macros

Helpful Hints for Both the Technical and Roleplaying Aspects of the Game

Moderators: Moderator, DM

Post Reply
ctothep
Posts: 484
Joined: Sun Nov 30, 2014 7:06 pm

Text macros

Unread post by ctothep »

Hello,

Is it possible to make text macros? Like, save some text and recall with the press of a button?

Cheers
Characters:

Zaraun - Vhaeraunite Deathsinger, School of Illusions and Phantasm

Retired Characters:

Iston - Lost within the void ... (deceased)
Tsidkenu

Re: Text macros

Unread post by Tsidkenu »

There is the Macro information thread to start with.

I also found this nice post by Steve, taken from here.
stevebarracuda wrote:The question remains if it actually works.
Skywings ReadMe wrote:- A new form of macro-enabled hotbar buttons are available. Macro-enabled
hotbar buttons are created with the /setmacro command (see the documentation
in this file for details). Macro-enabled hotbar buttons can perfrom many
actions per hotbar press, such as enqueuing up many buff spells all at one
time.

More details on hotbar macros are available in the "Custom Hotbar Macros"
section.
/setmacro <Button Number> <Commands>
- Define a custom macro command set to run when you press a hotbar button. More than one command may be supplied, delimited by semicolon characters. You may use the /hotbar command, or any other text commands (or even just plain chat) from the macro command list.
Casting Spells from Macros
--------------------------

The /cast command (usable both outside and inside of macros) allows you to cast
a spell by name.

When naming a spell, you should use the spell's full display name. For spells
with sub-spells (for example, Protection from Alignment), it is usually best to
cast the specific sub-spell you want. (Many such spells will either do nothing
or take a default behavior that you might not like when casting the main spell
directly.)

For example, if you wanted to cast Protection from Alignment's Protectiom from
Evil sub-spell, you could use the following command:

/cast Protection from Evil

Spells can also be given metamagic modifiers as a comma-separated list. The
following are the metamagic modifier names that are accepted:

empower
extend
maximize
quicken
silent
still
persistent
permanent

You must have the appropriate feats and spell levels or readied spell
memorizations available to successfully cast a spell. Otherwise, the spell
casting attempt fails.

The /cast command always uses your current target, unless the spell in question
can only be cast on yourself, in which cast your character is automatically
used as the target.

It is currently not possible to cast spells on the ground with /cast.

Similarly to spells, the /feat <Feat-Name> command can be used to invoke a feat
from a macro. Only feats that are activateable may be referenced via this
command. For example, to activate the Racial Spell (Light) feat, one might use
the following command:

/feat Racial Spell (Light)

Subradial feat selection is not currently supported.


Custom Hotbar Macros
--------------------

Custom macro hotbar buttons are a new feature that the Client Extension adds to
the game. Macros allow you to assign a set of text commands that run when you
press a hotbar button.

This feature is particularly useful when you have a large number of repetitive
actions that you would like to consolidate into just one keypress. For a
familiar example, you could create a single hotbar button that, when pressed,
would activate all of a Cleric's, or Wizard's buff spells.

To create a hotbar macro button, use the /setmacro command as follows:

/setmacro <hotbar button number> <command1>[;command2;commandN]

"Hotbar button number" indicates the hotbar button which will be turned into a
macro-enabled hotbar button. Button 1 is the first hotbar button, on row 1.
Button 13 is the first hotbar button on row 2, and buttom 15 is the third
hotbar button on row 2, and so on.

After the hotbar button number, you may provide a list of text commands that
are processed when the hotbar button is pressed. If you would like to run more
than one text command, separate the commands with a semicolon.

Any Client Extension text command, and any text command supported by the game
client itself may be used in a macro. You may also macro up simple chat text,
if desired.

The most common use of macro hotbar buttons is to cast several spells in
succession. There are two ways to do this: by spell name, and by referencing a
different hotbar button.



Tutorial: Creating a hotbar button to cast several buffs at once via casting
spells by name.
----------------------------------------------------------------------------

Let's say that you want to have a single hotbar button which casts several
offensive spells, all in one go. (The spells would be enqueued up to be cast
one after another, just as if you hit two hotbar buttons separately.)

For this example, we will create a hotbar button which casts a quickened
version of Isaac's Lesser Missle Storm, followed by Flame Arrow.

This task can be easily automated by creating a hotbar button that casts both
of these spells. We will use the /cast macro command, which looks up a spell
by name, and casts it on your current target.

We can construct a sequence of /cast commands that will cast the spells that we
want as follows:

/cast "Isaac's Lesser Missile Storm" quicken
/cast Flame Arrow

The first spell casts the lesser missle storm spell, with the "quicken"
metamagic property. If you wanted to add other metamagic properties to a
spell, you could specify them in a comma-separated list.

For instance, to cast a silent and still Magic Missle spell, you would use the
following command:

/cast "Magic Missile" still, silent

Now, back to our example. We can create a hotbar button that will run both of
the above macro commands with the /setmacro command. Here, we will assign the
macro to hotbar button 1, which is the first button on the first hotbar row.

/setmacro 1 /cast "Isaac's Lesser Missile Storm" quicken ; /cast Flame Arrow

That's all there is to it. Now, the next time you press that hotbar button,
all of the spells you have listed in the macro will be cast.



Tutorial: Creating a hotbar button to cast several buffs at once via hotbar
buttons.
---------------------------------------------------------------------------

Let's consider that you want to cast several buff spells with one hotbar
button. This task can be easily accomplished with the /setmacro command.

First, you must place the spells that you would like to cast on their own
hotbar slots. We'll use hotbar buttons 2, 3, and 4 for this example, so drag
the spells that you would like to cast onto those buttons (first hotbar row).

Now, for this example, we will turn the first hotbar button into a macro-
enabled button which will use buttons 2, 3, and 4. After you have set up those
three hotbar buttons, type the following command:

/setmacro 1 /hotbar 2 ; /hotbar 3 ; /hotbar 4

If everything worked out, you should see a couple of messages written to your
combat log, along the lines of "Configuring macro command: /hotbar 2". You
should also have a new hotbar button which has a "2D Missing Texture" icon in
the button 1 slot. (Don't worry about the missing texture; the button will
still work fine.)

That's it; you're done! Now, the next time you press the first hotbar button
on row 1, the actions that you have assigned to buttons 2-4 will be carried
out.

Tip: If you have buff spells that can buff an ally, select that ally before
you push the macro-enabled hotbar button. Macros will use your currently
selected target for their spell targets, for spells that may target a
creature other than yourself.
ctothep
Posts: 484
Joined: Sun Nov 30, 2014 7:06 pm

Re: Text macros

Unread post by ctothep »

Thanks

Does this only work with the client extension?
Characters:

Zaraun - Vhaeraunite Deathsinger, School of Illusions and Phantasm

Retired Characters:

Iston - Lost within the void ... (deceased)
Tsidkenu

Re: Text macros

Unread post by Tsidkenu »

Text macros no, as they are made with PC tools I believe?

Custom macros, such as for spellcasting, require Client Extension.
Post Reply

Return to “Tips & Tricks”