PDA

View Full Version : Adding Roll Tag BBCode?


DL_Ashe
08-26-2008, 01:57 PM
Hi there,

I'm trying to add/create a custom BBCode that will allow members of my forum to call the tag to roll dice for RPG play-by-post games.
Something along the lines of: [roll=Dice]Action Description.

So in a post it outputs something like:
DL_Ashe swings a cat around: 6d8 (12,13,16 = 41) + 4 = 45

I'm looking to make this handle any kind of RPG dice, and allow for multiple dice to be thrown in a post.

Is that easily achievable? Ideas?

Eikinskjaldi
08-26-2008, 11:43 PM
Hi there,

I'm trying to add/create a custom BBCode that will allow members of my forum to call the tag to roll dice for RPG play-by-post games.
Something along the lines of: [roll=Dice]Action Description.

So in a post it outputs something like:
DL_Ashe swings a cat around: 6d8 (12,13,16 = 41) + 4 = 45

I'm looking to make this handle any kind of RPG dice, and allow for multiple dice to be thrown in a post.

Is that easily achievable? Ideas?

Have a look at what we have done
http://www.myth-weavers.com

If it's what you are after, let me know and I will give you some pointers.

DL_Ashe
08-27-2008, 08:44 AM
Have a look at what we have done
http://www.myth-weavers.com

If it's what you are after, let me know and I will give you some pointers.

Wow! What you have at Myth Weavers is exactly what I was thinking of. Any system like that would be fantastic, that is inherently built into people's posts. So any assistance you could give would be appreciated tenfold! Thanks so much for the response! :)