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 .
×

roll against ac of selected token

hi I'm just starting on roll 20 and I'm wondering if there is a way to make a macro that says someting along the lines of: /rol d20 + ... > ac "of selected token" thank you
1585346286

Edited 1585346555
Ziechael
Forum Champion
Sheet Author
API Scripter
Sure, you can do: /r {1d20 + @{selected|bonuses or whatever}}>[[@{target|ac}]] It would result in a success or fail output. Remember, you'd need to replace my attribute calls with relevant ones for the sheet/setup you have in place.
thank you so much right now i made this: /gr {?{Amount}d20 + ?{bonus}}>[[@{selected|ac}]] it is working for 1d20, but is there a way to make it for multiple attacks? (the ?{Amount} is working but then i roll xd20 + the bonus and not different rolls)