Welcome Guest [Log In] [Register]


Multiqoute Multiqoute
Add Reply
Dice Roller [16/02/2017]
Topic Started: Feb 16 2017, 04:34 PM (16 Views)
SirHootsalot
Member Avatar
Resident Owl
[ *  *  * ]
I have created a simple but effective script that will now allow you to make Dice Rolls in the Forum, users can then view the contents of the dice roll by clicking on the roll generated as shown in the three examples below;

[result]23&2:5:3,3d5,0,10|1:2:4:5,4d6,1,13&3d5+4d6+1[/result]
[result]25&4:5:5,3d5,0,14|2:1:6:1,4d6,1,11&3d5+4d6+1[/result]
[result]20&5:2:4,3d5,0,11|1:5:1:1,4d6,1,9&3d5+4d6+1[/result]

If you want to use this fuction simply use the following format without the asterisk(*)

[roll*]xDy+z[/roll*]

x = Number of Dice
y = Maximum Dice Value
z = Any additional bonuses to add to the result

for example 1d20+4 will roll a d20 and then add 4 to the result.

Note: The dice roller accepts multiple die in a single string so you could do (as in the above examples).

[roll*]3d5+4d6+1[/roll*]

Enjoy! :)
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Announcements & News · Next Topic »
Add Reply