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

How do you access the contents of the name field in an icon for use in a macro?

In a big battle it can be difficult to keep track of which monster or npc maps to a post in the log, so I am trying to pull the contents of the name field in an icon into a macro. Can anyone tell me the variable name which I could use in a macro to pull in the icon name field?
1493652180

Edited 1493652244
Diana P
Pro
Sheet Author
@{selected|token_name} or perhaps @{target|token_name} should work for the name field on the token. edit: if you use the target version, you might need @{target|target1|token_name} for the full syntax. Hope that helps.
Thank you very much. This worked great.
Diana P said: @{selected|token_name} or perhaps @{target|token_name} should work for the name field on the token. edit: if you use the target version, you might need @{target|target1|token_name} for the full syntax. Hope that helps. If it is bound to a specific sheet, you can also use @{character_name} rather than token_name.