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

I need macro commands to pull info from character sheet please.

July 04 (10 years ago)

Edited July 04 (10 years ago)
Hello,

I looked on the wiki, but I may have overlooked it maybe? Anyways, I am playing D&D 5e and I need to pull some info into a macro like character level and things like that so I don't have to edit my attacks and spells every time I level up. I need more commands than just character level though. Is there a list of all or most of the commands for puling character sheet info?

Or better yet is there a way to add your spells from your spell list into your macro bar so you don't need your sheet open to use them?
July 04 (10 years ago)
Lithl
Pro
Sheet Author
API Scripter
I order to access an attribute from a character sheet, use the syntax @{Attribute Name} or @{Character Name|Attribute Name}. Different community sheets will use different names for the attributes. For the 5e Sheet, there is a wiki page including the names of the attributes used. The 5e Shaped sheet is slightly different, but I believe it uses most if not all of the same attribute names.
oh okay thanks. So if I say use an ability that is a 1d10 + my character level in healing power all I would need to do is {1d10+@{Fighter_Level}}?
July 04 (10 years ago)
Gen Kitty
Forum Champion
We have a wiki-page on creating macros, with a sub-section on macros that pull information from character attributes.

Here's an example of the macro you asked about: /me uses HEALINGABILITY and restores [[1d20+@{Fighter_Level}]]

Replace HEALINGABILITY with the name of the ability you're using, and if there's an attribute named 'Fighter_Level' on the character sheet of the character using the ability, you're good!
July 04 (10 years ago)

Edited July 04 (10 years ago)
Okay thank you so much! One last question, some of the character sheet commands say @{PB} in there little info box. Does that mean all I need to do is type in the name and it will give me the proficiency bonus?
July 05 (10 years ago)
Gen Kitty
Forum Champion
I can't speak to that, as I have almost zero knowledge about character sheets. HOWEVER, I suspect some of the character sheet experts will be by eventually (holiday weekend) to fill you in ^_^
Okay lol thanks for the help! :)
July 05 (10 years ago)
Gen Kitty
Forum Champion
Psssst: which character sheet are you using? Actoba's 5e Sheet or Mark's Shaped 5e sheet, or something else?
July 05 (10 years ago)

Layne M. said:

Okay thank you so much! One last question, some of the character sheet commands say @{PB} in there little info box. Does that mean all I need to do is type in the name and it will give me the proficiency bonus?

Yes. @{PB} is the combined and calculated proficiency bonus for D&D 5e character sheets. I suggest nesting @{PB} in its own inline roll to tidy up the tooltip. Otherwise the tooltip when you mouseover an inline roll will be huge.
GenKitty - I think the first one? I have no idea to be honest.

HoneyBadger - ahh okay thanks
Actoba's 5e sheet does have a wiki. It has not been updated in a while but most of the parameters have not changed, even on Mark's sheet. If the listed ones give you an error, then they have changed and you will need figure out the new one. Check the Abilities tab and/or the actual sheet html for more information. Also, there is a lot in the useful macros and 5e template posts on the boards.

https://wiki.roll20.net/DnD5e_Character_Sheet#Usin...

H
July 11 (10 years ago)

Edited July 11 (10 years ago)
Kryx
Pro
Sheet Author
API Scripter
Shaped has a wiki now too. It's coming along mostly from one of the users.

Shaped already nests PB for more concise rolling.