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

Format Dice Rolls

Trying to create a macro that takes the best 6 rolls of 4d6kh3. [[{{4d6kh3}, {4d6kh3}, {4d6kh3}, {4d6kh3}, {4d6kh3}, {4d6kh3}, {4d6kh3}}kh6]] takes the right rolls, but delivers them as a lump sum.  How could I use a template to display each of the 6 best rolls separately?
1469221015

Edited 1469221107
Finderski
Pro
Sheet Author
Compendium Curator
The easiest way for legibility (in my opinion) would be something like this: roll 1: [[{4d6}kh3]] roll 2: [[{4d6}kh3]] roll 3: [[{4d6}kh3]] roll 4: [[{4d6}kh3]] roll 5: [[{4d6}kh3]] roll 6: [[{4d6}kh3]] That will output this:
&{template:default}  {{ [[4d6kh3]] = [[4d6kh3]] }} {{ [[4d6kh3]] = [[4d6kh3]] }} {{ [[4d6kh3]] = [[4d6kh3]] }}
Basically I am giving generous character creation rolls. Each roll I let them roll 4d6 and keep the best 3. They get to roll 7 times and keep the best 6. Presently I am just letting them manually pick which of the 7 rolls to drop. Mark aren't you just rolling 6 times  total?
eh, add one more and visually pick out the lowest to ignore You're not going to be able to make  7 separate rolls and not display one.  Even a kh6 is still going to display the dropped rolls when you mouse over it.
1469238701
The Aaron
Pro
API Scripter
That's the same rolling convention I like to use. =D An API script could be created that would do that, but it might be overkill.
All right, I will live with the indignity of having to see all 7 rolls and manually dropping the lowest. Feeling like I am still rolling in the 80's though. 
All right, I will live with the indignity of having to see all 7 rolls and manually dropping the lowest. Feeling like I am still rolling in the 80's though. 
1469275284
Finderski
Pro
Sheet Author
Compendium Curator
Mark G. said: &{template:default}  {{ [[4d6kh3]] = [[4d6kh3]] }} {{ [[4d6kh3]] = [[4d6kh3]] }} {{ [[4d6kh3]] = [[4d6kh3]] }} I always forget about the default template... :(
1469285305
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
There's also the ability to  sort your dice .
1469411200
Gold
Forum Champion
I would put the instruction directly in the macro, so it says it every time someone rolls it. Also put an emote at the top (especially if you are not using Roll Templates), it makes a nice orange highlight announcement and division in the chat. /me Rolling a new character for Gary's Game! [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]] I will take the 6 best rolls, and drop the lowest one.
Gold- that is exactly what I had been doing! Great minds think alike!  Scott- is it possible to sort out multiple rolls? [[{[[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]]}s] doesn't work, but is there a way to express it properly?
1469435578

Edited 1469435615
Silvyre
Forum Champion
Gary W. said: is it possible to sort out multiple rolls? [[{[[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]], [[{4d6}kh3]]}s] doesn't work, but is there a way to express it properly? Not without an API Script. /r {[[4d6d1cf<3cs>4]], [[4d6d1cf<3cs>4]], [[4d6d1cf<3cs>4]], [[4d6d1cf<3cs>4]], [[4d6d1cf<3cs>4]], [[4d6d1cf<3cs>4]], [[4d6d1cf<3cs>4]]} kl1 This is my (non-API) suggestion; it will display all 7 rolls as well as indicate the lowest roll that you should discard (which will likely be highlighting in red, as well).
Pretty slick there Silvyre!