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

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.
1509050112
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:
1509050372

Edited 1509050586
Sick!, Thanks a bunch! Even works with /gmroll and /w gm!
1509050663

Edited 1509050981
Event works with Rollable Tables, this is hot
1509050746
The Aaron
Pro
API Scripter
You can put API commands in there too, btw, or multiple commands, just separate them with: 
 Cheers!
1509050922
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
1509217670

Edited 1509217714
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](<a href="http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ" rel="nofollow">http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ</a>) 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](<a href="http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ" rel="nofollow">http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ</a>) I have no issues and it opens the handout as expected.
1509220970
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Hmm, try html encoding the closing parentheses of your embedded link.
1509222850
Silvyre
Forum Champion
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](<a href="http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ" rel="nofollow">http://journal.roll20.net/handout/-KxOsOm5mTWF7FHzqadQ</a>) However, whenever I click the link it disconnects me from roll20 and says the page can't be found. Replacing ".net" with "&amp;amp;period;net" seems to work.
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?
1509325444
Silvyre
Forum Champion
Try this: !&amp;#13;/w gm Roll [[2d6]] times on [10 GP Gemstones Table](<a href="http://journal.roll20&amp;amp;period;net/handout/-KxOsOm5mTWF7FHzqadQ" rel="nofollow">http://journal.roll20&amp;amp;period;net/handout/-KxOsOm5mTWF7FHzqadQ</a>)