How to Set Up a Weapon Swap Macro in WoW Classic
Use /equipslot for a predictable Classic Era weapon swap, with separate buttons for your normal and defensive setups.
Art: Blizzard EntertainmentIn WoW Classic Era, use /equipslot 16 to put a named weapon in your main hand and /equipslot 17 to put a shield or eligible weapon in your off hand. Keep the pieces in your bags and test both slots out of combat before you rely on the swap. Separate buttons for your normal setup and your defensive setup make it easy to see what each key is supposed to do.
Make a one-hand and shield button
- Put the one-handed weapon and shield you want to use in your bags. Confirm that your character can equip both.
- Open the macro window with
/macroand create a character macro called something like Shield Set. - Paste the two lines below and replace each placeholder with the exact name of the item in your inventory. Remove the angle brackets.
- Put the macro on an action bar and press it outside combat. Open the character panel and check the main-hand and off-hand slots separately.
/equipslot 16 <one-handed weapon name>
/equipslot 17 <shield name>
The numbers identify the equipment slots. They aren't bag slot numbers. Keeping the main-hand command first also gives you a clear sequence when you're moving away from a two-handed weapon and need to make room for a shield. If only one item changes during testing, isolate that line and check the item name and whether the character can equip it.
Build a return button for the original weapon
If your usual setup is a two-handed weapon, make a second macro with one line:
/equipslot 16 <two-handed weapon name>
Replace the placeholder with the actual name. Equipping a valid two-handed weapon clears the off hand, so make sure your bags have room for the displaced gear. If you usually dual wield instead, specify the main-hand weapon with slot 16 and the off-hand weapon with slot 17. Check that the intended off-hand weapon is actually eligible for that slot.
Try both directions while standing somewhere safe. Equip the shield setup, check both slots, then use the return button and inspect the result again. Once it works, move each key somewhere you can reach deliberately. Accidentally putting on the shield while starting an attack is easier to avoid when the two buttons look different and don't sit directly beside a key you press constantly.
Test combat timing before depending on the swap
Equipment changes during combat have restrictions, and a weapon swap can interfere with the timing of the next action. Keep the equip commands separate from your follow-up ability while learning the setup. If you want to use an ability that requires a shield, put the shield on first, confirm it equipped, then press the ability when the game allows it.
Try the transition against a weak enemy before using it during a boss pull. Equip your usual weapon, start the fight, and press the shield button. Watch the equipment slots or your action bar to see when the change takes effect. Then use the follow-up ability on a separate press. This tells you more than a macro that mixes several commands and leaves you guessing which one failed.
Fix a swap that only changes one slot
Start with the easy checks. Confirm the exact name of each item, that it is in your bags, and that the intended slot can accept it. If you copied a macro from a player with a different client language, replace the item names with the ones displayed in your client. Also check whether the old item has somewhere to go.
If both weapons have the same name, the macro can be harder to distinguish by name alone. Test with distinct items first to verify the commands. If the simple example works and the identical-name setup does not, treat that as a separate problem instead of changing the slot numbers or combining more actions into the macro.
After any upgrade, revisit the macro and replace the old item name before selling or storing the previous weapon. Use both swap buttons once more outside combat. A manual check after changing equipment is faster than finding out during a pull that one of the two buttons still points to an item you no longer carry.
Sources
This article was written by AI (Claude) and checked against the sources above. Games are updated regularly, so details may change.