UPSB v4

Forum Games / How to roll dice

  1. Zombo
    Date: Fri, Jun 25 2010 05:17:56

    This mod uses the standard [B]A[/B]d[B]X[/B]+[B]B[/B] notation where [B]A[/B] = the number of dice to roll (1 if not present) [B]X[/B] = the number of faces on the dice [B]B[/B] = represents a modifier, usually a + or - but also a divides or multiply. I also need it to do certain things like, only show the sum/result of the roll or show all the die results and the sum of the roll. I also wanted the ability to do open rolls, e.g. if you roll 6, six sided die, you keep rerolling any dice that come up a 6. So, basically, I have concocted three different bbcodes in one product: {roll}1d4{/roll} - for rolling and showing only the results or sum {rollv}1d4{/rollv} - for rolling and seeing the result of each dice as well as the sum {rollo}1d4{/rollo} - for open rolls Each of these takes and optional label for the roll, to be included in the tag after the '=' sign, e.g. {roll=to hit}4d6{/roll} and so forth. It is, however, optional as the actual notation for the roll is displayed before the results in the final posting. So, for example, you can enter rolls like the following: {roll}4d6{/roll} to get the sum of 4 six sided die. {roll}d%{/roll} for a percentage roll (same as 1d100) {roll}4d6b3{/roll} to roll 4 six sided dice and only sum the "best" three results
    Replace {} by []

  2. Mats
    Date: Mon, Dec 13 2010 14:32:26

    Well to be honest, I normally just throw them...

  3. tacohead12
    Date: Mon, Dec 13 2010 23:12:13

    I doubt you have a 3 sided die.

  4. Zombo
    Date: Mon, Dec 13 2010 23:19:53

    O RLY?

  5. Mats
    Date: Mon, Dec 13 2010 23:20:55

    Zombo wrote: O RLY? http://upload.wikimedia.org/wikipedia/commons/3/3b/04ds3.JPG
    Owned!

  6. walrus
    Date: Tue, Dec 14 2010 00:00:58

    http://upload.wikimedia.org/wikipedi...3/3b/04ds3.JPG that would be a 5 sided die...

  7. tacohead12
    Date: Tue, Dec 14 2010 00:20:13

    Yeah, technically there is still 5 sides >_> and that's not even a picture of YOUR dice that you can physically roll so i'm not 'owned'

  8. davidguy
    Date: Tue, Dec 14 2010 00:30:19

    Zombo wrote: O RLY? http://upload.wikimedia.org/wikipedia/commons/3/3b/04ds3.JPG
    what would that count as if it landed standing up?

  9. Mats
    Date: Tue, Dec 14 2010 00:31:47

    What does a coin count if you throw for heads or tails and it lands sideways?

  10. strat1227
    Date: Tue, Dec 14 2010 00:38:35

    [roll0] edit: fuckin cool bro

  11. Zombo
    Date: Tue, Dec 14 2010 01:19:37

    why are we even having this discussion? pretty sure there are no million sided dice, yet you can still do it virtually, it does not matter. if you need a random number between 1 and 1 million, you got it.

  12. Mats
    Date: Tue, Dec 14 2010 02:33:03

    Zombo wrote: why are we even having this discussion?
    [quote=Zombo]I'm going to turn this into a discussion[/quote] Erm, why don't you tell us?

  13. fang
    Date: Sun, Oct 30 2011 12:32:14

    [roll0]