Die rolling script

Ankhanu
Council of Darkness
Ankhanu
Council of Darkness
Joined: 4:06 PM - Aug 12, 2006

5:19 PM - Oct 26, 2015 #1

We've added some Dice Rolling Code to the forum to augment Play-by-Post roleplay. The link describes how the script is used, and some of its security features (to prevent cheating/rerolling). The gist is:

Code: Select all

[roll](#ofdice)d(#ofsides)+modifier
e.g. [result]17&3,1d20,14,17&1d20+14[/result]
Output : [result]19&5,1d20,14,19&1d20+14[/result]


The roller does not allow for such things as exploding dice (e.g. WEG Wild Dice), but work arounds can be found, I'm sure.

Multiple rolls can be included in a single roll code as well, for example rolling damage on a flaming longsword:

Code: Select all

[result]9&4,1d8,0,4|1,1d6,4,5&1d8+1d6+4[/result]
Output: [result]10&4,1d8,0,4|2,1d6,4,6&1d8+1d6+4[/result]
In Real Life ?, people who aim to maximize their potential for lethality are called "dangerous psychotics" and are typically avoided by everyone who isn't forced to endure their company until someone has the opportunity to put them away or else put them down. No one likes that guy. Don't play that guy.

Donate to Ankhanu Press
Quote
Like
Share