Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Ability/Macro Help roll 1d4d4

I am trying to make a weapon where the damage is (1d4)d4. Where it rolls a d4 and the result of that dice rolls that many d4. If you rolled a 2 on the first d4 and you roll 2d4 for damage (Roll a 1 and a 3 on the 2d4 for 4 total) Is there a syntax for damage that does this or how would you set up an ability on the character sheet to roll a d4, and use the result to roll that many d4?
[[[[1d4]]d4]]
1625572854
GiGs
Pro
Sheet Author
API Scripter
If you want to copy skill rolls to an ability, click the button to roll the skill, then click your cursor into chat, and press the UP arrow. This will show you the code - just copy that into an ability. Alternately, many sheets have their roll buttons set up so you can just call them by abilities. See if you can drag the button to your macro bar (you may have to activate it in the macros collection), and the button name will be shown. You can then call it by using %{button-name} - create as many abilities as you need, or set up a chat menu (see stupid tricks thread for that).
1625573696
David M.
Pro
API Scripter
0 games, 0 hrs played, weird font, account created same day as their only post, question pretty much unrelated to the thread.  Looks like another message from our robot overlords.
1625573893
GiGs
Pro
Sheet Author
API Scripter
Well spotted, David. I should have realised from the weird font alone.
Jarren K. said: [[[[1d4]]d4]] Thank you. After about 15 test rolls this appears to do what I was asking. I appreciate your time. That took more brackets than I imagined it would.
David M. said: 0 games, 0 hrs played, weird font, account created same day as their only post, question pretty much unrelated to the thread.  Looks like another message from our robot overlords. I apologize for any odd fonts I may be typing in. I have been been a DM here on roll20 for since mid to late 2017. On my view of my public profile I am recorded being the GM of 4 games with 12,149 hours played. Though I am sure a majority of those hours have been from open tabs. I do appreciate your viewing of odd accounts posting very oddly worded questions. Have a wonderful day.  
1625612114
David M.
Pro
API Scripter
Not you, Tyler! There was a bot posting earlier (that got deleted by the mods).
David M. said: Not you, Tyler! There was a bot posting earlier (that got deleted by the mods). Haha gotta quote the bots or it gets confusing when they get deleted!