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

Initiative and Template

1484878926

Edited 1484879216
Fabian D.
Sheet Author
So, trying to get this to work: &{template:default} {{name=Initiative}} {{result=[[2d6+@{initiativeattribute}[Attribute Modifier] + ?{Modifier|0}[Modifier] &{tracker}}}]] Which works - it does roll initiative, adds the varying number and token to the turn tracker, but it looks like this: However, I'd like the roll result to be in chat.
1484879517
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Fabian D. said: &{template:default} {{name=Initiative}} {{result=[[2d6+@{initiativeattribute}[Attribute Modifier] + ?{Modifier|0}[Modifier] &{tracker} }}]] You've transposed the ending double curly braces for the template and the ending square brackets for the inline roll (bolded above).
Thank you!
1484880160
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Happy Rolling