Role Tokens: Smart Macro Targets for World of Warcraft

Role Tokens rewrites your macros so @tank, @healer, and custom lists always hit the right player for World of Warcraft.

Download RoleTokens for World of Warcraft 12.1.0

Original name: RoleTokens

World of Warcraft: 12.1.0

FileVersionLoaderSize
RoleTokens-0.1.0-alpha1.zip12.1.0—9 КБDownload
RoleTokens-0.1.0.zip12.1.0—9 КБDownload
RoleTokens-0.2.0.zip12.1.0—46 КБDownload
RoleTokens-0.2.1.zip12.1.0—47 КБDownload
RoleTokens-0.2.2.zip12.1.0—47 КБDownload

Role Tokens

Every World of Warcraft player knows the pain of a macro that points at the wrong person. You set up Misdirection for the tank, the tank swaps, and suddenly your careful keybind is casting at nobody. Role Tokens fixes that by letting you write macros that target roles and people instead of hard-coded party numbers. Write @tank once, and the addon keeps it aimed at whoever is actually tanking as your group shifts through the night.

What Role Tokens Actually Does

The game does not let addons cast spells for you, but it does let them edit macro text while you are out of combat. Role Tokens watches your group and, whenever someone joins, leaves, or changes role, it rewrites your macro so @tank becomes @party3 or @raid17 or whoever fills that slot right now. The macro on your action bar stays a plain, ordinary macro. Your focus is never touched, and if something changes mid-fight, the update lands the moment combat ends.

Built-In Tokens: Nothing to Set Up

Save a macro containing @tank, @healer, or @dps and it simply works. @tank resolves to the raid's assigned main tank if there is one, otherwise the first tank. @tank2, @healer2, @dps3 and so on count through the rest in group order. You are never picked yourself, so a tank who writes @tank gets the other tank, and a druid who writes @healer gets a different healer. For anything you can also cast on yourself, add [@player] at the end of the macro.

One rule matters: always pair a token with exists. When there is no tank, the token is left as written, the clause fails, and the macro moves to the next line. That is the entire fallback system, and it is why a bare [@tank] would try to cast at nobody instead of moving on.

Example Macros

  • Hunter: /cast [@mouseover,exists,help,nodead] [@tank,exists,nodead] [@pet,exists,nodead] [] Misdirection
  • Rogue: /cast [@mouseover,exists,help,nodead] [@tank,exists,nodead] [] Tricks of the Trade
  • Druid: /cast [@mouseover,exists,help,nodead] [@healer,exists,nodead] [@player] Innervate

Custom Tokens for Your Own Priority Lists

Say you are a priest with two friends who should always get Power Infusion first. Create a token called pi and add them with /rtk token pi add friend Alice, /rtk token pi add friend Bob, and so on. Now @pi is Alice if she is in the group, otherwise Bob, otherwise the next name down. People who are not present are simply skipped. Then write the macro so it walks the list and skips the dead: [@pi,exists,nodead] [@pi2,exists,nodead] [@pi3,exists,nodead] [@dps,exists,nodead] []. The game checks nodead the instant you press the key, so the choice stays correct mid-fight even though Role Tokens only edits macros out of combat.

You can build and edit everything from the options page under Options, AddOns, Role Tokens, from the minimap button, or by right-clicking a player, friends list row, or guild roster row and choosing Add to @pi. If you would rather skip manual file handling entirely, the foxygame.net launcher installs Role Tokens in one click and keeps it updated automatically, so your macro tokens never fall behind a patch.

Managing Friends, Alts, and Roles

When you add someone as a friend, they count on whatever character they log in with. Two features make that practical. First, exclude a single alt: target Bob on his warrior and run /rtk token pi except Bob, and he will be skipped while playing that character. Second, rank one alt higher than the rest by adding the character and the friend separately, so Bobmage at position one and friend Bob at position four means his mage is your first choice and anything else he plays is your fourth.

You can also restrict a token to a role. /rtk token pi role dps tells the token to skip anyone not currently playing damage, and per-person rules override the list setting. The /rtk token pi command lists everyone on the token with a reason next to each name, which is the fastest way to answer why a macro picked Carol.

Compatibility Across World of Warcraft Versions

Role Tokens for World of Warcraft supports Retail, Classic, TBC, WotLK, Cataclysm, and MoP, so the same token logic works whether you are raiding current content or leveling through an anniversary realm. Addon compatibility is straightforward: tokens are shared across all your characters, macros cap at 255 characters after expansion, and the addon only does work when your group, roles, or macros change. If you used pins in an older version, they became tokens named mytank, myhealer, and mydps with a role filter.

How to Install

If you are wondering how to install, download Role Tokens from your preferred addon source, drop the folder into your Interface/AddOns directory, and enable it at the character screen. From there, save a macro with a token, and the addon confirms it is now managing that macro. The commands /rtk, /rtk ui, and /rtk refresh cover checking status, opening the page, and forcing a rewrite.

The Bottom Line

Role Tokens removes the guesswork from group-dependent macros. Instead of memorizing party slots or rebuilding keybinds every raid night, you write your macro once and let the addon follow your roster. Whether you are a hunter juggling Misdirection or a priest maintaining a Power Infusion priority list, the right target is always one keypress away.