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

Help! Including emotes with dice rolls...

1407854632

Edited 1407854668
Tom
Plus
Sheet Author
Here's something that's been giving me a devil of a time: adding emotes to dice rolls in the character sheet. I've looked at several character sheet designs that do this, but no matter what I try I end up with all manner of crazy errors. My basic dice roll code looks something like this: {[[(@{skill}+@{ability}+?{Modifier|0})]]d10!sd}>7 This packages everything up nicely for the chat readout. I added: "/em makes a [Skill] roll" and ended up with Tom (GM) makes a [Skill] roll {6d10!sd}>7 (Calculates the dice to roll just fine, but doesn't actually roll anything). I added: "@{name} makes a charm roll" and ended up with Alpha Template makes a [Skill] roll {6d10!sd}>7 (Again, calculates, but doesn't roll). Throwing in a "/r" command doesn't get me anywhere: Alpha Template makes a [Skill] roll /r 6d10!sd}>7 Now, if I drop the emote and put in a "/r" command, everything works like a charm. So what am I doing wrong here?
Try... /em makes a [Skill] roll [[{(@{skill}+@{ability}+?{Modifier|0})d10!sd}>7]]
1407864524
Finderski
Plus
Sheet Author
Compendium Curator
If you want the name of the character and not the player, you can use @{character_name}. However, there are other emotes that can work documented in the wiki (I'd list them but am writing from my phone and it's kinda difficult).
1407867262
Tom
Plus
Sheet Author
Godsbane: works, but we really need to find a way to make the dice rolled viewable, not just the number of successes. G.V.: I looked at that character sheet wiki and can't find anything on the topic. What page are you looking at? Can you paste a link? (Understand the frustration of using this forum on a phone!)
1407875219
Lithl
Pro
Sheet Author
API Scripter
The problem is that you're putting everything on one line. Use \n to create a newline: /em makes a skill roll\n/r {[[(@{skill}+@{ability}+?{Modifier|0})]]d10!sd}>7
1407876927
Tom
Plus
Sheet Author
Dammit Brian! You keep coming up with these ridiculously simple solutions to these problems. :) Thank you!
1407898340

Edited 1407959652
Tom
Plus
Sheet Author
Godsbane: It dawns on me the inline roll formula you offered is perfect for the damage rolls I've been building into my sheet. So thanks! Edit: AND works like a charm!
Heh. What Brian told you is how I do my macros. I thought you wanted a one line (all in the emote) solution, specifically for some reason. So I had to work out how to do that. :D I should have just copy pasted my macros.
1408219342
Tom
Plus
Sheet Author
Heh! It's how the macros in the original WoD sheet that I used for an initial framework. I just didn't realize what the "\n" did, so I scrapped it. But so far, everyone loves how clean the inline damage roll looks. So THANKS!