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

Add character CR to name in journal

Does anyone know how I would go about this? Fairly new to APIs and I've seen !setattr won't work and I found this previous thread which almost does it. I just do t have the know how to finish it. <a href="https://app.roll20.net/forum/post/9488944/script-to-change-character-name/?pageforid=9489035" rel="nofollow">https://app.roll20.net/forum/post/9488944/script-to-change-character-name/?pageforid=9489035</a> Thanks in advance
1628571036
The Aaron
Roll20 Production Team
API Scripter
With that script, something like: !set-char-name %%NAME%% [@{selected|cr}] Should work, assuming the CR is in an attribute named "cr". &nbsp;
Worked great. The CR in 5e reference was [@{selected|npc_challenge}] Thanks heaps!
1628595980
The Aaron
Roll20 Production Team
API Scripter
No problem!