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 here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Im trying to create a very basic macro script for skill checks in 5e dnd without having to create a macro for each PC individually. Sorry if this is posted in the wrong section
Khanga, I'm moving your question to Specific Use because the macros aren't intrinsically tied to the API.
To answer your question: You want to use the selected qualifier and have tokens on your tabletop that are linked to characters. /em @{selected|token_name} makes a History([[1d20+@{selected|history}]]) check.