Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Getting the name of a targeted token.

How do I get the name of a targeted token in a macro? @{target|name} doesn't work, since name isn't an attribute. I am trying to make a macro for a melee attack which sends an emote to chat, like "Dire Wolf takes a bite out of <target token name here>".
1393179647
GiGs
Pro
Sheet Author
API Scripter
Try either @{target|token_name} or @{target|character_name} The first one is better for NPCs, the second one will only work if there is a Journal (Character Sheet) attached to the token which isn't always the case with beasties.