• Dice Roller Finished!

    For now.

    I finally ported tuxz0r's dice roller from his vbulletin.org hack for vbulletin 3.5.4 over to 4.0.6.
    It was actually a very easy modification to his code that allowed this.
    I shant bore you all with the details.

    I give full credit and kudos to tux0r for his work on this dice roller.
    I merely ported it and thus take no credit for it, it's his work 100%.
    I'm using it until I can get the time to finish the one I'm working on (though I am using his as a template).

    The way the die roller here works is as follows.

    Open up the "go advanced" editor screen for posting.
    On the editor menu you will see an icon on the far side.
    Click this icon.
    Next you'll see the bb code entered into the editor frame.
    Insert the desired number of dice between the as follows
    HTML Code:
    [roll]xdy[/roll]
    with x being the number of dice and y being the sides.

    Example: 5d10 result after posting: (5d10)[41]
    If you need to add a modifier to the dice roll be sure to add is ass follows:
    HTML Code:
    [roll]xdy+z[/roll]
    Example: 5d10+4, result after posting: (5d10+4)[36]

    If you need to roll a percentage roll you may either use 1d100 or d%.
    The choice is yours.

    Note that you cannot reroll in a post by trying to go back an edit the post.
    A null or roll0 or roll1 will appear letting your Game Lord know you tried to change the roll.

    This is a feature of the dice roller hack that prevents cheating.

    DO NOT attempt to preview the roll or else you'll get the same result and the roll will be nullified (my thanks to Lady Warrior for figuring this out )

    This die roller meets the basic needs of the Nexus Arcana D30 roll playing system and thus no other code modifications are necessary at this time (open rolls, or best results rolls).
    I hope it proves a useful tool until I can get my own dice roller up and working.

    -Prime Administrator