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

ChatSetAttr -- How do I Set This

Is there any way to Set this Name Field with the CharSetAttr or any other API?
1602436121
Andreas J.
Forum Champion
Sheet Author
Translator
Maybe not with ChatSetAttr? That name is stored as "character_name" on the character sheet, but IIRC it's not actually an attribute on the sheet, so it might not be accessible in that way. !setattr --sel --character_name|newname should in theory set a selected character's name to "newname", but didn't get it to work. But maybe TokenMod, which can edit things related to tokens and the name or displayed name, can be a good enough workaround? Do you want to have a macro to change the name displayed on the Journal page, or what is the reason you want the change? There might be other ways to achieve your end goal, if this is just a means to an end.