The [roll] bbcode - how does it work?
4 posters
Page 1 of 1
The [roll] bbcode - how does it work?
Couldn't find anything in the search about this and it's not covered in "The RPG feature" FAQ thread. There's an option when you enable dice rolling to "Activate [roll] bbcode for the dice roll:" with a warning, "(Beware : with the BBcode, the dices will be rolled again if you edit the message)".
I activated the bbcode and tried various permutations:
These all just printed out exactly what I typed in - there was no functionality included. I do have bbcode enabled on the site, in my profile, and in the thread.
Does this feature only work when you don't set up custom dice (e.g., I have d4, d6, d10, d12, and d20)? Is there some special format that you have to type it in to get it to work? Does it require than an image be uploaded for each type of dice? In short, how do you get the [roll] bbcode to work?
I activated the bbcode and tried various permutations:
- Code:
[roll]
[roll][/roll]
[roll d6]
[roll d6 x4]
[roll 4d6]
[roll]d6[/roll]
[roll]d6 x4[/roll]
[roll]4d6[/roll]
These all just printed out exactly what I typed in - there was no functionality included. I do have bbcode enabled on the site, in my profile, and in the thread.
Does this feature only work when you don't set up custom dice (e.g., I have d4, d6, d10, d12, and d20)? Is there some special format that you have to type it in to get it to work? Does it require than an image be uploaded for each type of dice? In short, how do you get the [roll] bbcode to work?
Last edited by Kestrana on July 19th 2012, 2:33 am; edited 2 times in total (Reason for editing : Adding additional permutations I tried)
Kestrana- Forumember
- Posts : 27
Reputation : 0
Language : English
Re: The [roll] bbcode - how does it work?
yeah i am not sure how it works, the RPG is one thing i have never used so will have to see if i can figure it out on my test forum, Unless another staff member or member knows?
kirk- Forumaster
- Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn
Re: The [roll] bbcode - how does it work?
Do you see the dice option when you edit or create a new post. It should be under the editor?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: The [roll] bbcode - how does it work?
slg wrote:Do you see the dice option when you edit or create a new post. It should be under the editor?
Yes you should see a button as SLG says you click that and it will roll the dice for you and show in the posts you make
Re: The [roll] bbcode - how does it work?
If you edit the post, the dice are rolled again.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: The [roll] bbcode - how does it work?
All: The button isn't under the editor (that's the thing that does the double-posting, which I hate), it's in amidst the rest of the wysiwyg buttons above the textarea. Perhaps this should be added to the Dice Roll section of the FAQ page so others can easily find it in the future.
And the format (for those who prefer to type it rather than use the wysiwyg - I hate wysiwygs, too) is:
That is one upside to the double-posting function is that you can have it roll multiples of the same die in one line (e.g.: roll four d4 dice, get d4: 1, 4, 2, 2) rather than having to roll each die individually (e.g., [roll="d4"][/roll], [roll="d4"][/roll], [roll="d4"][/roll], [roll="d4"][/roll]); however, I would much rather roll each one individually than have it double-post all the time. Correction: to roll multiples of the same die in one roll, you use:
And the format (for those who prefer to type it rather than use the wysiwyg - I hate wysiwygs, too) is:
- Code:
[roll="name of die"][/roll]
e.g.
[roll="d4"][/roll]
- Code:
[roll="name of die"]# of times you want to roll[/roll]
e.g.
[roll="d4"]4[/roll]
Output:
Kestrana carried out 4 launched of one d4: 1 , 2 , 1 , 1
Last edited by Kestrana on July 19th 2012, 2:39 am; edited 2 times in total (Reason for editing : Discovered how to roll multiple dice at the same time)
Kestrana- Forumember
- Posts : 27
Reputation : 0
Language : English
Re: The [roll] bbcode - how does it work?
Topic Solved & Locked |
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum