Macros [L2Ertheia.eu Wiki]
You are here: Main Page » general » Macros

This is an old revision of the document!


Macros

Macros can be used to automate some processes, use several skills at the same time.

Basic rules for creating a macro

  • The character can remember 48 macros.
  • The macro name can contain 12 characters.
  • The macro can contain 12 lines.
  • One line of a macro can contain 80 characters (including the command).
  • If you perform any action while the macro is running (move the character, use an item/skill/chat, open the interface window), the macro will be interrupted.
  • You cannot add execution of another macro to a macro.

Creating a macro

  1. Open the macro creation interface from the menu or using the Alt+R keyboard shortcut.
  2. Click the “Add” button.
  3. Write the name of the macro (will appear when you hover over the macro icon).
  4. Select the macro icon.
  5. The Templates button will open a list of templates that you can add to your macros if needed.
  6. If you want, you can describe the macro's action in more detail. The macro description should not exceed 32 characters.
  7. Fill in the macro content according to the rules described above.
  8. The + (Add) button will add a blank line to the selected location, and everything entered earlier will be moved down. Moving the 12th line down will delete it.
  9. The x (Delete Row) button will delete the selected row.
  10. The “up” and “down” buttons move the row in the selected direction. If there is information in adjacent rows, the rows will be castled.
  11. The “Delete All” button will completely clear the macro contents.
  12. The Copy All and Paste buttons allow you to copy and move the contents of the macro.
  13. Click the “Save” button to save all changes. The “Cancel” button will close the macro without changes.

You can use skill names in a macro to use them with the /useskill command.

  • /useskill [Skill Name] (as in the game with spaces and capital letters).
  • For the convenience of players, a mechanism for dragging skills into a macro has been made; open the skills window and the macro creation window at the same time and drag the skill into the macro window to the desired line.

In a macro, you can use items and skills located on the hotkey bar using the /useshortcut command. /useshortcut [Panel #] [Slot #] , for example, /useshortcut 6 5 (use item/skill in slot 5 on panel 6). For the convenience of players, a mechanism for dragging hotkey bar slots into a macro has been created, open the macro creation window and drag the item/skill into the macro window to the desired line. The macro can be re-run. Once you add a macro to the Quick Access Toolbar, you can reuse it by right-clicking it. Running a reusable macro is interrupted if you start other actions. Macros that only contain chat messages cannot be reused. When the chat ban is activated, a timer is displayed in the system message. You can copy and paste the macro using the Copy All and Paste buttons . Using the Templates button , you can call up a list of templates for frequently used commands and add them to your macros by double-clicking them or simply dragging them with the mouse. You can make the execution of a macro command forced by adding the force postfix to the command (similar to pressing ctrl on the keyboard) For example: /useskillforce , /useshortcutforce , /attackforce You can add a condition to the command execution - do not move from the place, by adding the postfix stand (analogous to pressing shift on the keyboard) For example: /useskillstand , /useshortcutstand , /attackstand You can delay the next macro command by using the /delay [sec] command. When using skills (items) that have a cooldown, an animation appears on the macro icon showing the time until reuse. 60 seconds before the end of the cooldown of the skill used in the macro, a timer appears on the macro icon counting down the remaining seconds. If several skills (items) are used in the macro, then by default the skill (item) with the longest cooldown is selected for display. However, using the %c command, you can display the cooldown of the desired skill. If the %c command is used several times in a macro, only the first use of the command will be indicated. For example: /useskill Dark Blast %c

Editing a Macro

  1. Open the macro creation interface from the menu or using the Alt+R keyboard shortcut.
  2. Drag the icon of the desired macro onto the hammer icon Icon - Editing Macro.jpg.
  3. Edit the macro.
  4. Click “Save”.

Removing a macro

  1. Open the macro creation interface from the menu or using the Alt+R keyboard shortcut.
  2. Drag the desired macro icon to the trash can icon.
  3. Confirm deletion of the macro.
Edit this page
Back to top