LotR TCG Wiki → Card Sets:  All 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 → Forums:  TLHH CC

Author Topic: Dice Roller  (Read 7617 times)

0 Members and 1 Guest are viewing this topic.

November 01, 2008, 09:44:06 AM
Read 7617 times

Kralik

  • Guest
Dice Roller
« on: November 01, 2008, 09:44:06 AM »
I deleted my original announcement, and then had a problem with my second try... so here it goes again! Third time's the charm...

I was poking around the RPG forum and I noticed that some people were looking for a dice roller. I found one online that I installed, but then I found a purtier one to use. Here's the basic syntax:

Code: [Select]
:dice [# of dice]d[size of dice][sign][modifier]
Some examples (remove the extra space between : and dice):

: dice 5d18:

  Rolling 5d18:   (11+14+16+12+9): Total = 62



: dice 2d9+1:

  Rolling 2d9+1:   (7+8)+1: Total = 16



: dice 4d8-2:

  Rolling 4d8-2:   (4+3+8+4)-2: Total = 17



Note two things:
1) It only works when you post (intentionally not in previews).
2) If you edit your post and/or try to change the dice rolls, it will give you gobbledygook.

Feel free to try it out on this thread. Enjoy! ;D

November 01, 2008, 10:09:36 AM
Reply #1

Kralik

  • Guest
Re: Dice Roller
« Reply #1 on: November 01, 2008, 10:09:36 AM »
Note: I can't edit the above post, but I forgot the ending colon in the above syntax. The correct syntax is:

Code: [Select]
:dice [# of dice]d[size of dice][sign][modifier]:

November 01, 2008, 12:10:16 PM
Reply #2

Gate Troll

  • *****
  • Information Offline
  • Ranger
  • Posts: 971
Re: Dice Roller
« Reply #2 on: November 01, 2008, 12:10:16 PM »
 >:( This is complicated.
« Last Edit: November 01, 2008, 12:12:07 PM by Gate Troll »

November 01, 2008, 12:28:47 PM
Reply #3

SomeRandomDude

  • ********
  • Information Offline
  • Maia
  • Posts: 7004
  • Most Likely To Usurp Kralik and Dáin
    • My Wordpress
Re: Dice Roller
« Reply #3 on: November 01, 2008, 12:28:47 PM »
Not really.

<hr><div><img src="http://lotrtcgwiki.com/forums/Themes/bluee_plus/images/dice2.gif" alt="" />  Rolling 2d6:   <span style="background-color: #87ceeb;">(5+2): Total = 7</span></div><hr>

(EDIT: Example of what happens if you edit your post.)
« Last Edit: November 01, 2008, 12:46:21 PM by Kralik »
NB- 4 year veteran of CC/TLHH

"It was like:
Kralik: "What hath God wrought"
NB: "I dunno, but I'm in ur house eating ur food.""
-Elessar's Socks

Trade List- ft. Aragorn, Defender of Rohan

November 01, 2008, 12:32:12 PM
Reply #4

Kralik

  • Guest
Re: Dice Roller
« Reply #4 on: November 01, 2008, 12:32:12 PM »
A perfect example of what happens if you edit your post! Don't do it. ;D

November 01, 2008, 12:32:48 PM
Reply #5

SomeRandomDude

  • ********
  • Information Offline
  • Maia
  • Posts: 7004
  • Most Likely To Usurp Kralik and Dáin
    • My Wordpress
Re: Dice Roller
« Reply #5 on: November 01, 2008, 12:32:48 PM »
Sweetness.

:dice 2d6:
« Last Edit: November 01, 2008, 12:53:35 PM by NBarden »
NB- 4 year veteran of CC/TLHH

"It was like:
Kralik: "What hath God wrought"
NB: "I dunno, but I'm in ur house eating ur food.""
-Elessar's Socks

Trade List- ft. Aragorn, Defender of Rohan

November 01, 2008, 12:41:14 PM
Reply #6

menace64

  • The Late-Night Moderator
  • *****
  • Information Offline
  • Knight
  • Global Mod
  • Posts: 1898
  • Bruce Campbell is my father.
Re: Dice Roller
« Reply #6 on: November 01, 2008, 12:41:14 PM »

  Rolling 1d7:   (2): Total = 2


November 01, 2008, 12:41:41 PM
Reply #7

menace64

  • The Late-Night Moderator
  • *****
  • Information Offline
  • Knight
  • Global Mod
  • Posts: 1898
  • Bruce Campbell is my father.
Re: Dice Roller
« Reply #7 on: November 01, 2008, 12:41:41 PM »
(I tried rolling a 7.2-sided die.)

November 01, 2008, 12:54:58 PM
Reply #8

SomeRandomDude

  • ********
  • Information Offline
  • Maia
  • Posts: 7004
  • Most Likely To Usurp Kralik and Dáin
    • My Wordpress
Re: Dice Roller
« Reply #8 on: November 01, 2008, 12:54:58 PM »
Sorry, too many rolls!
NB- 4 year veteran of CC/TLHH

"It was like:
Kralik: "What hath God wrought"
NB: "I dunno, but I'm in ur house eating ur food.""
-Elessar's Socks

Trade List- ft. Aragorn, Defender of Rohan

November 01, 2008, 12:55:21 PM
Reply #9

SomeRandomDude

  • ********
  • Information Offline
  • Maia
  • Posts: 7004
  • Most Likely To Usurp Kralik and Dáin
    • My Wordpress
Re: Dice Roller
« Reply #9 on: November 01, 2008, 12:55:21 PM »
^^That was 10000 rolls. What's the limit?
NB- 4 year veteran of CC/TLHH

"It was like:
Kralik: "What hath God wrought"
NB: "I dunno, but I'm in ur house eating ur food.""
-Elessar's Socks

Trade List- ft. Aragorn, Defender of Rohan

November 01, 2008, 12:55:42 PM
Reply #10

Kralik

  • Guest
Re: Dice Roller
« Reply #10 on: November 01, 2008, 12:55:42 PM »
NB and I have been experimenting. It looks like if you edit a post and try to add in a dice roll, it doesn't work. So hopefully the whole thing will discourage cheating. :)

November 01, 2008, 12:55:58 PM
Reply #11

SomeRandomDude

  • ********
  • Information Offline
  • Maia
  • Posts: 7004
  • Most Likely To Usurp Kralik and Dáin
    • My Wordpress
Re: Dice Roller
« Reply #11 on: November 01, 2008, 12:55:58 PM »
Sorry, too many rolls!
NB- 4 year veteran of CC/TLHH

"It was like:
Kralik: "What hath God wrought"
NB: "I dunno, but I'm in ur house eating ur food.""
-Elessar's Socks

Trade List- ft. Aragorn, Defender of Rohan

November 01, 2008, 12:56:11 PM
Reply #12

SomeRandomDude

  • ********
  • Information Offline
  • Maia
  • Posts: 7004
  • Most Likely To Usurp Kralik and Dáin
    • My Wordpress
Re: Dice Roller
« Reply #12 on: November 01, 2008, 12:56:11 PM »

  Rolling 10d6:   (4+2+5+6+2+3+3+4+4+4): Total = 37

NB- 4 year veteran of CC/TLHH

"It was like:
Kralik: "What hath God wrought"
NB: "I dunno, but I'm in ur house eating ur food.""
-Elessar's Socks

Trade List- ft. Aragorn, Defender of Rohan

November 01, 2008, 12:56:23 PM
Reply #13

Kralik

  • Guest
Re: Dice Roller
« Reply #13 on: November 01, 2008, 12:56:23 PM »
^^That was 10000 rolls. What's the limit?

I think it's 100d40. Let's try:

Sorry, too many rolls!

:twisted:

November 01, 2008, 12:56:33 PM
Reply #14

Kralik

  • Guest
Re: Dice Roller
« Reply #14 on: November 01, 2008, 12:56:33 PM »
Nope! I'll check the code.