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

Complete Newbie to API development, how to parse 2024 D&D Sheet roll messages for roll data?

February 03 (2 months ago)

i want to make a script that can detect if there are any rolls in a message, identify if theyre a d20 nat 20, and send a message. my current script works for /roll, /gmroll, [[]], and rolls from 2014 D&D npc sheets, but not for 2024. how do i do this?

February 03 (2 months ago)
timmaugh
Pro
API Scripter

Are you referring to the fact that there is no inline rolls property to the messages coming from the 2024 sheet?