Macros
Macros in the New Client
Basics
There are two ways to get to the Macros menu:
- Right-click on any of the macro buttons on the bottom left of the screen and click "Edit".
- Select File -> Macros from the top left menu.
Macros can be created without assigning them to keys. You can make as many as you want, and save them for later use. You can assign macros to a action bank key by dragging it from the Macros list to an action button.
The macros at the top of the list, listed in white, are system macros and cannot be edited and deleted. Any others, listed in light gray, can be edited. All of them can be assigned to any of your custom action banks.
You can create, rename and delete macro banks from the File -> Action Banks menu. The created banks will be reflected in the dropdown on the bottom left of the main screen.
Creating a Macro
Macros have 1 instruction per line, and can have up to 15 instructions. Empty lines and lines starting with # are ignored.
Important: Everything in macros is case sensitive.
Instructions
- attack
- attack [t]: Attack the current target
- stopattack
- stopattack x: Stop attacking
- spell
- spell <spellname>: Cast the given spell. Spells can have targeters, see below.
- skill
- skill <skillname>: Use the given active skill. Skills can have targeters, see below.
- equip
- equip <slot> <item>: Equip the given item in the given slot. The slot is one of: lhand, rhand, helm, neck, body, gloves, legs, boots, lwrist, rwrist, lring, rring. You can safely use an equip instruction for each of your gear slots to replace everything in one macro.
- weaponswap
- weaponswap <left/right/both> <item to be equipped>: Equip given item in the given slots.
- say
- say <something>: works as if you had typed <something> in the text input bar at the bottom of the screen. It can take commands such as /time or /quests, as well as messages and emotes.
- target
- target <name>: selects the target with the given name or partial name in the room. This includes the (Mob) and (Player) prefixes.
- target [n]: selects the n-th target in the room.
- item
- item <name>: uses the item with the given name.
- item <slot>: uses the item in the given slot. The slot is one of: lhand, rhand, helm, neck, body, gloves, legs, boots, lwrist, rwrist, lring, rring.
Targeters
Targeters can be used when in a group, and are intended to be used in a skill or spell instruction. There are a number of types of targeters:
- Class targeters
- E.g. @priest, @defender, @necromancer. They will match players of the named class.
- Mark targeters
- One of: @tank, @healer, @dps, @heart, @happy, @sad. You can right-click a player in the group window to mark them with one of these marks. The targeter will match players with matching marks.
- Life and mana targeters
- @life[<n], @life[>n], @mana[<n], @mana[>n]. These targeters will match players with life/mana above/below the provided number in percentage. E.g. @life[<10] will match players that have their life below 10%.
You can have combinations of targeters on a single skill or spell instruction. This will match any player in the group which matches all targeters at once. E.g. @priest @healer @mana[<30].
If no matching player is found for the targeter(s), the skill or spell will NOT be used.
If multiple matching players are found, the first one will be targeted, and the skill or spell will be used on that target.
Use with a skill or spell is as follows:
- skill @targeter_1 ... @targeter_n <skill>, e.g. skill @tank @life[<30] Bind Wounds
- spell @targeter_1 ... @targeter_n <spell>, e.g. spell @wizard @sad @mana[<5%] Ignite Essence
Macros in the Old Client
Basics
To access 'macros' (or hotkeys) click on any of the numbered buttons at the bottom left of the screen. You'll see your "Examine", "Get Item" "Attack" buttons (magically) change to blank buttons.
You can now right click on these buttons and another window will pop up.
"Macro Action" is the important slot, where you enter the macro/code for your hotkey.
"Macro Name" allows you to categorise your hotkeys. You can name your hotkeys anything you want to.
Note that everything is case sensitive.
Macro commands
- Attacking
attack [t]
- Attacks your current target.
stopattack [t]
- Stops attacking. There is no command to stop casting.
- Spells
spell <spellname>
- This will cast a spell, on the current target. eg. spell Touch of Health
- Skills
skill <skillname>
- This will use a skill. eg. skill Meditation
- Commands
say <command>
- This allows you to use a variety of commands, eg. say /e laughs, or say /pet kill. A complete (probably) list of commands can be found via /cmdlist
- Note that it is not possible to include more than one say command in a single macro, nor is it possible to use a say /b <message> command
say /weaponswap <left/right/both> <weaponname>
- This will unequip your current equipment, either left or right hand slot, and search your inventory for the weapon stated, and equip it. If you don't have Dual Wield, your right hand can only be either a shield or wand. The "both" command unequips both slots and equips the selected weapon in only your left hand. Useful for hybrid rangers.
- Targetting
target 0
- Targets the first player, mob or pet, regardless of what it is. target 1 targets the second, etc.
target [1]
- Targets the first mob/pet. target [2] targets the second, etc.
target Mob
- Targets the first mob. Extremely useful if you're with a pet user/are a pet user
target <name>
- Targets a specific player/mob/pet. Note that you have to use the full name, eg. A Domican Republic Spy
target Player
- Targets the first player
- Using Items
item <itemname>
- This will use a consumeable item from your inventory. You are required to use the singular term for items. Thus, it's actually "Winterberry Wine", not "Winterberry Wines".
item <equipment slot>
- This will activate the usable spell of the equipment, if any, in the stated slot. Macros for all slots are lhand, rhand, helm, neck, body, lwrist, rwrist, gloves, legs, boots, lring, rring.
Making your macro
Now that you know the commands, you can make your macro. Pretty easy if you want to just cast a spell, or just weaponswap.
Now comes the interesting part, making more complex macros. You can link commands by using the ; key.
- Example: target 0;attack [t];skill Bash;skill Kick
Semi-basic macro used by warriors. If you don't know what it does, you should start reading from the top of the page, again :p
Examples of some hotkeys
- target [1];attack attack - Basic target mob, attack mob hotkey.
- stopattack [t] - Basic stop attacking command.
- target [1];stopattack [t];skill Impale - Mid-combat impale hotkey.
- target [1];spell Hellfire - newk!
- target zanzoken;skill Quick Cast;spell Frost of Eternity - pvp wizzie hotkey
- target MeatShield;spell Light of Heaven - heal
- target MeatShield;skill Bind Wound;say /gm BOUND - bind hotkey
- say /follow Playername - stalker hotkey
- target [1];say /pet kill - pet users version of basic attack hotkey
- item body;spell Mark of Aran - using the chest piece item's spell, then casting a buff hotkey
Notes
- Case sensitivity and spelling is most likely what causes incorrect hotkeys, most of the time.
- You can name two hotkeys the same, and set them in the same position, and they will do the same thing, even if only one of them has data in the "Macro Action:" text box.
- For using items, the slots are named: item head, item neck, item body, item rwrist, item lwrist, item lhand, item rhand, item gloves, item legs, and item boots.
- You cannot have multiple "say" commands in one hotkey.
- You can have multiple 'spell' commands in one hotkey, but it will display "You are already casting a spell!"
- You can have multiple skills in a hotkey.
- You can't hotkey 2 consumeable items in one hotkey, but you CAN hotkey using two equipped items. For example: item body;item ring will work where item Magical Acorn;item A Magical Fruit will display "You can not use another item for 10 seconds." after eating the acorn.
Just for fun
You can also use the [t] function in macros such as:
- say /e pokes the eye of [t] and laughs
When an ogre basher is targeted, it will appear as:
- Jaina pokes the eye of An Ogre Basher and laughs
This is fun when you add this into your attack hotkeys! Talk about imitating the mobs at doing stupid things before attacking =)
Note that this only works with macros; [t] does nothing if said without the use of a macro hotkey.