FIBS Board backgammon forum

Dice roller added to posting area

Author Topic: Dice roller added to posting area  (Read 9317 times)

Offline stog

  • Administrator
  • Advanced Fibsboarder
  • *
  • Posts: 1,850
  • don't roll your dice in the sand
Dice roller added to posting area
« on: June 26, 2010, 05:22:58 PM »
now uninstalled 9-8-2010This mod allows users to roll dice. You can use the preview function to preview dice rolls to make sure they have it right for what you want, but once you press Post, the dice rolls are embedded in the post, meaning that the only way you can change is if the post is edited, but a warning is issued if that is attempted.

It starts from a [roll] tag, and outputs a This dice roll has been tampered with!
 tag (implemented just for the mod) - trying to use the blockquote tag outside of [roll] circumstances (such as quoting the post, or better, editing the post) generates a visible warning.

There are a variety of options you can have inside the roll tag:

This dice roll has been tampered with!
Rolled 1d6 : 6, total 6 - rolls 1 6-sided dice.
Might result in:
Quote

  
Quote
Rolled 1d6 : 2, total 2

This dice roll has been tampered with!
Rolled 2d12+5 : 3, 7 + 5, total 15 - roll 2 12-sided dice and add 5 to the result
Might result in:
Quote

    
Quote
Rolled 2d12+5 : 6, 11 + 5, total 22

This dice roll has been tampered with!
Rolled 2d20^10 : 2 9 14, 5 13, total 27 - roll 2 20-sided dice, re-rolling any result necessary so that the dice rolls are greater than 10.
Quote

    
Quote
Rolled 2d20^10 : 3 8 10 3 17, 2 10 9 10 14, total 31

This dice roll has been tampered with!
Rolled 2d20v10 : 10 17 10 4, 13 20 5, total 9 - roll 2 20-sided dice, re-rolling any result necessary so that the dice rolls are less than 10.

Quote
Rolled 2d20v10 : 11 3, 3, total 6
« Last Edit: August 09, 2010, 02:15:32 PM by stog »

FIBS Board backgammon forum

Dice roller added to posting area
« on: June 26, 2010, 05:22:58 PM »

Offline stog

  • Administrator
  • Advanced Fibsboarder
  • *
  • Posts: 1,850
  • don't roll your dice in the sand
Re: Dice roller added to posting area
« Reply #1 on: June 26, 2010, 05:28:21 PM »
This dice roll has been tampered with!
Rolled 2d6 : 4, 1, total 5

Code: [Select]
2d6

FIBS Board backgammon forum

Re: Dice roller added to posting area
« Reply #1 on: June 26, 2010, 05:28:21 PM »

Offline stog

  • Administrator
  • Advanced Fibsboarder
  • *
  • Posts: 1,850
  • don't roll your dice in the sand
Re: Dice roller added to posting area
« Reply #2 on: June 26, 2010, 05:30:15 PM »
[blockquote]Rolled 2d6 : 1, 6, total 7[/blockquote]

Offline stog

  • Administrator
  • Advanced Fibsboarder
  • *
  • Posts: 1,850
  • don't roll your dice in the sand
Re: Dice roller added to posting area
« Reply #3 on: June 26, 2010, 05:36:09 PM »
above is an untampered result to 2d6

FIBS Board backgammon forum

Re: Dice roller added to posting area
« Reply #3 on: June 26, 2010, 05:36:09 PM »

Offline diane

  • Fibsboard Executive VIP Donor 2017
  • Expert
  • *
  • Posts: 4,331
Re: Dice roller added to posting area
« Reply #4 on: June 27, 2010, 02:32:23 AM »
I cant see how to use this - or what for.

Did you have a specific application in mind? And are there instructions?
Never give up on the things that make you smile

Offline RickrInSF

  • Fibsboarder plus
  • ****
  • Posts: 138
Re: Dice roller added to posting area
« Reply #5 on: June 27, 2010, 02:55:10 AM »
[blockquote]Rolled 3d12 : 8, 12, 9, total 29[/blockquote]
testing for d&d

Offline jackdaddy

  • Fibsboard Executive VIP Donor 2013
  • Fibsboarder plus
  • *
  • Posts: 156
Re: Dice roller added to posting area
« Reply #6 on: June 27, 2010, 07:26:19 AM »
This dice roll has been tampered with!
Rolled 3d12 : 8, 12, 9, total 29
testing for d&d

Dungeons and Dragons?

Offline RickrInSF

  • Fibsboarder plus
  • ****
  • Posts: 138
Re: Dice roller added to posting area
« Reply #7 on: June 27, 2010, 02:10:34 PM »
i couldnt think of any other use it
[blockquote]Rolled 1d20 : 6, total 6[/blockquote]

FIBS Board backgammon forum

Re: Dice roller added to posting area
« Reply #7 on: June 27, 2010, 02:10:34 PM »

Offline diane

  • Fibsboard Executive VIP Donor 2017
  • Expert
  • *
  • Posts: 4,331
Re: Dice roller added to posting area
« Reply #8 on: June 27, 2010, 04:08:45 PM »
I cant do it...let alone think of a use for it..  :(
Never give up on the things that make you smile

Offline ah_clem

  • VIP Executive Donor 2010
  • Advanced Fibsboarder
  • *
  • Posts: 2,114
Re: Dice roller added to posting area
« Reply #9 on: June 28, 2010, 04:31:21 PM »

Ok.  I'm feeling lucky, here goes:

[blockquote]' is not a valid dice string![/blockquote]

What do I win?

Tags:
 

anything
TinyPortal © 2005-2018