image_by Needpix.com

Age of Macros

Learn to create macros

what is a macro?

A macro is a little different from a script because of its “ multi-line ” format and the possibility of timing what happens there to automate certain tasks.

can we use such a macro to perform combat sequences?

Nope! To achieve this, look more at the software of your keyboard or mouse. If your keyboard/mouse is not programmable, you can use AutoHotkey.

where to place macros?

Just like a script file, a macro is placed in the game's “ Scripts ” folder.

where to test your macros?

There is a chat dedicated to macro testing, it's the /trial channel!

how does a macro work?

When running a macro, the chat engine reads the macro line by line. Each line corresponds to a different action from the previous line. If there is no delay between each action, they will be executed one after the other until the last line of the macro.

default macro files

There are two macros natively, auto_login and auto_teleport, the first being the most used. Let's see when they are executed:

  • auto_login: Runs after the first loading of a character.
  • auto_teleport: Runs after each character teleport.

Each of these macros can be executed manually by calling them as you would a script, namely /auto_login and /auto_teleport respectively.

Please note, they cannot be named otherwise and have no extension. It is of course possible to create your own macro, with a different name and the *.txt extension (or without).

example of a macro :

afi_macro_sample.txt

_10
/setoption sp_inventory_view true
_10
delay 1000
_10
/setoption sp_wear_view true
_10
delay 1000
_10
/setoption sp_inventory_view false
_10
delay 1000
_10
/setoption sp_wear_view false

the macro /afi_macro_sample.txt here performs several tasks which are (in line order):

  1. Open the right pane of the inventory.
  2. The macro is paused for 1 000ms (1s).
  3. Open the left equipment door.
  4. The macro is paused for 1 000ms (1s).
  5. Close the right pane of the inventory.
  6. The macro is paused for 1 000ms (1s).
  7. Close the left shutter of the equipment.

what else to know??

Now that we know how to create a macro, it's time to move on:

💬 share your experience!

Welcome to the comments section dedicated to Age of Conan! We're excited to hear your thoughts, strategies, and experiences in this epic world. Whether you have tips to share, questions to ask, or stories to tell, we're here to listen. The lands of Hyboria are filled with mysteries and challenges, and we believe your contribution will enrich our player community. Feel free to leave your mark in the sands of time by sharing your thoughts below. Together, we're writing the history of Conan! 🎺🎺

Buy Me A Coffee