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

Rolling from Handouts

October 26 (7 years ago)
I'm in the process of creating all of the treasure tables as handouts in my current campaign so I don't have to keep going back to the book. However, I was wondering if there was a way to save the values in these tables in a rollable format. Meaning, like a character sheet or Handout I could click on them to roll the values? [[formula]] doesn't do this.
October 26 (7 years ago)
The Aaron
Pro
API Scripter
You can do this with API Command Buttons (doesn't require the API).

Step 1: Insert a link.


Step 2: Name it something and then put the output you want into the URL, prefaced with !


Step 3: Save it, then you can click the link to run the command:

October 26 (7 years ago)

Edited October 26 (7 years ago)
Sick!, Thanks a bunch! Even works with /gmroll and /w gm!
October 26 (7 years ago)

Edited October 26 (7 years ago)
Event works with Rollable Tables, this is hot
October 26 (7 years ago)
The Aaron
Pro
API Scripter
You can put API commands in there too, btw, or multiple commands, just separate them with:

Cheers!
October 26 (7 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Just note that it won't work if you pop the handout into a new window.

See the Journal Command Buttons Wiki for all the details
October 28 (7 years ago)

Edited October 28 (7 years ago)
Alright, so I can get inline rolls to work, and even link to a rollable table. Pretty sweet actually. The next thing I would like to do is have the link write a link to chat. I can't seem to get this to work. I'm trying to do it like this
! & # 13 ;/w gm Roll [[26d]] times on [10 GP Gemstones Table](http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ)
However, whenever I click the link it disconnects me from roll20 and says the page can't be found. However if I type the same thing into chat
[10 GP Gemstones Table](http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ)
I have no issues and it opens the handout as expected.
October 28 (7 years ago)
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hmm, try html encoding the closing parentheses of your embedded link.
October 28 (7 years ago)

Jeremy R. said:

I can't seem to get this to work. I'm trying to do it like this
! & # 13 ;/w gm Roll [[26d]] times on [10 GP Gemstones Table](http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ)
However, whenever I click the link it disconnects me from roll20 and says the page can't be found.

Replacing ".net" with ".net" seems to work.
October 29 (7 years ago)
hrm, is any of that text being changed as a result of posting? As doing one or the other, or both don't seem to be working. I get the same thing as before. And I swear I've asked this before, but can I link to a compendium page, should I get this to work?
October 30 (7 years ago)
Try this:
!
/w gm Roll [[2d6]] times on [10 GP Gemstones Table](http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ)