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 to call Character name in macro?

Hi there, I'm trying to create some simple macros for ability rolls in the A&A sheet and would like the roll to show the character's name. What attribute should I call for that please? I've tried @{name} and @{charactername} but neither works... Ironically, the error message in the template header does actually show the name but then appends the incorrect field name I have used.  Thanks
1671348307
Kraynic
Pro
Sheet Author
It should be character_name, I believe.
1671376009

Edited 1671454357
GiGs
Pro
Sheet Author
API Scripter
as Kraynic says, it's @{character_name} But there are places where you should do it as "@{character_name}" - if a character name has spaces in it (and maybe some special characters), it'll often break macros if you don't enclose it in quotes.
Thank you - that worked