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

Encounter macro

I'm trying to make a macro that rolls for encounters. So far I'm doing alright with it, but I want it to do one more thing. Somehow I want it to query what the DC would be for that day and highlight successful rolls. this is what I have so far.  /w gm &{template:default} {{name=Encounters}} {{Morning=[[1d20]]}} {{Afternoon=[[1d20]]}} {{Night=[[1d20]]}}
Presuming the DC for the day would be the same, you can do something like this /w gm &{template:default} {{name=Encounters}} {{Morning=[[1d20>?{DC|0}]]}} {{Afternoon=[[1d20>?{DC|0}]]}} {{Night=[[1d20>?{DC|0}]]}} The output would be 0 or 1, 0 meaning a failure, 1 meaning the d20 met the DC.
very cool. i like it. thank you