Test the dice roller

Morrus

Well, that was fun
Staff member
This is a fairly simple implementation. It's off the shelf, and unsupported, so if parts of it don't work I can't fix it, nor can I add to it. So it is what it is!


  • Include BB code in your posts in Xdy+z format. Note Z can be +,-,*, or /.
  • Basic bb code is {roll}. Just gives the total: [roll0]
  • Use {rollv} to list each individual roll as well as the total: [roll1].
  • Use {rollo} for exploding (open) dice which rerolls dice which come up max.
  • Include a note, like {roll=Bob's Attack Roll}1d20{/roll}: [roll2]
  • Use a letter b to sum only the best b results, such as {roll}4d6b3{/roll} which rolls 4d6 and adds the best three.
  • You cannot add dice rolls with an edit. So once you submit your post, you can't sneakily change the rolls.
 
Last edited:

Morrus

Well, that was fun
Staff member
As far as I can tell the + modifier doesn't appear to be working.

[roll0]
 

Morrus

Well, that was fun
Staff member
I'd like someone else to double check for me, but as far as I can tell:

1) All the above codes work.

2) BUT modifiers and best-ofs only work with an unlabelled basic {roll} code, not with {rollv} or {rollo} or with a roll which has a label/note attached.
 

doghead

thotd
So, yeah. Cannot edit existing rolls which come up as roll0, roll1. Which is a good thing. Don't seem to be able to add new rolls into the post via the edit function either.

[sblock=Test Rolls in Spoiler Tags]I like to keep the OOC stuff hidden in IC threads, so lets see how this goes:
[roll0]
[roll1]
[roll2]
[roll3]
[/sblock]

Edit: So, they seemed to work except for the 4d6b3, which just worked as a 4d6 roll.
 
Last edited:

doghead

thotd
Exploding die huh.

[roll0][roll1][roll2][roll3][roll4][roll5][roll6][roll7][roll8][roll9][roll10][roll11][roll12][roll13]
 

doghead

thotd
Doesn't appear to like exploding dice.

All of the above were {rollo}1d6{/roll}. I figured that if one or more of the results came up with a value greater than 6, the exploding dice function was working.

[rollvo]3d6[/roll]
 

Morrus

Well, that was fun
Staff member
Doesn't appear to like exploding dice.

All of the above were {rollo}1d6{/roll}. I figured that if one or more of the results came up with a value greater than 6, the exploding dice function was working.

[rollvo]3d6[/roll]
In most of your pots there, your closing tag is different to your opening tag. If you use {rollo} you close with {/ rollo} not {/roll}. Same with {rollv}.
 

Morrus

Well, that was fun
Staff member
[roll0]
[roll1]
[roll2]
[roll3]
[roll4]
[roll5]
[roll6]
[roll7]
[roll8]
[roll9]
[roll10]
[roll11]
 

Advertisement

Top