ROLZ

Tavern - Formatting Dice Rolls

3

Formatting Dice Rolls

TCX0Lt0X · 02. Sep 2015 23:39 by udo · 1

Hello, I have been using the Dice roller and have found it amazingly useful for rolling the damage of my D&D3.5 characters (especially those high level characters with 6 to 10 different modifiers to damage that apply differently =P )

I had a few questions regarding formatting the String that the die roller outputs. Namely:

1) Is there any way to format the die roll+modifier out of the String and just display the result of the roll? For Instance, if I roll '1d20+5' I will get '1D20+5 => 23'. I want it to display just the result of that roll ('23')

2) Is there a way to format the die roll to start a newline in the resulting string, probably when rolling multiple dies. For example, if I roll 'repeat 2 1D20+5', I will get

repeat 2 1D20+5 => 14 ; 10

What I am looking for if it is possible to instead get

repeat 2 1D20+5 => 14

repeat 2 1D20+5 => 10

(Or something to that effect. Of course, it would be nice if I could combine this formatting with the one from the first Question.)

3) Is there a way to insert multiple comments into the string? For instance, if I do '1d20+5 #To-Hit ; 2d6+5 #Damage', Ill get '1D20+5 => 14

  1. To-Hit ; 2d6+5 #Damage'. Obviously everything after the hashtag appears to become a comment. I want it to be instead '1D20+5 => 14
  2. To-Hit ; 2d6+5 => 12 #Damage'

I am pretty positive from what I am seeing in the dice code doc that none of this is double as the code is, but I just want to make sure.

Thanks for any responses

1 · by udo · 02. Sep 2015 23:39

Hi TCX0Lt0X, hope I can help:

1) There is currently no way to keep the dice code hidden and just display the result. You can, however, roll privately with the /self command and just tell the others the result.

2) Sorry to disappoint again, there is no newline feature. If you want something to appear in two lines, you'll have to roll it two times. You can use the up-arrow cursor key or the shortcut buttons (in the tools tab) to make it easier to repeat a roll manually.

3) What you're looking for are embedded rolls. If you write a normal chat line, you can embed as many dice codes as you want into them, using the square bracket notation (I refer you to the help wiki).

I am pretty positive from what I am seeing in the dice code doc that none of this is double as the code is, but I just want to make sure.

I think you're in luck as far as item 3) is concerned :)

8.9