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

Is there a script to take a list and convert it to a rollable table?

Say, for instance, this type of list: Anybody?
1441485637
vÍnce
Pro
Sheet Author
+1 for an import script that could do this.  
1441492497
The Aaron
Pro
API Scripter
Like this....? &nbsp;=D <a href="https://app.roll20.net/forum/post/1144568/script-tableexport-a-script-for-exporting-rollable-tables-between-accounts" rel="nofollow">https://app.roll20.net/forum/post/1144568/script-tableexport-a-script-for-exporting-rollable-tables-between-accounts</a>
1441493190

Edited 1441493201
The Aaron
Pro
API Scripter
Here it is, updated to use playerIsGM() instead of my isGM() stuff. &nbsp;&nbsp; <a href="https://github.com/shdwjk/Roll20API/blob/master/Ta" rel="nofollow">https://github.com/shdwjk/Roll20API/blob/master/Ta</a>...
That seems to be for exporting already made rollable tables into a form you can then use the script to import to a new rollable table. How would I use this on a list that has never been a table, say a text file that is just a list of names? Links: do I need the 1st link, 2nd link, both?
1441543472
The Aaron
Pro
API Scripter
The first is the original discussion, the second is a link to the newest version.&nbsp; !import-table --Professions --show !import-table-item --Professions --Acrobats and tumblers --1 -- !import-table-item --Professions --Acrobat, tumbler --1 -- ...
1441551823
vÍnce
Pro
Sheet Author
So you could take the text from a table(from anywhere, not necessarily from another roll20 campaign) and use an external editor to edit each line to include the script's import commands, then just copy/paste into chat to run?
Or paste them into an ability macro in a character sheet that holds all your !import files, so you can vault them and share with other people!
1441554631
vÍnce
Pro
Sheet Author
OldSchoolChris said: Or paste them into an ability macro in a sheet that holds all your !import files, so you can vault them and share with other people! Love it.
1441555380
The Aaron
Pro
API Scripter
There you go. :) I was always surprised no one ever seemed to use this script.&nbsp;
1441556794
vÍnce
Pro
Sheet Author
I think it must have slipped thru the cracks. Although, there's so many tables available for PF as well as other agnostic rpg stuff that can be found online that it almost makes no sense to recreate a table in-game. &nbsp;However, AP's with wandering monster tables and such...
My list above is for determining what a building in a city is for. I will see about importing all the tables from the Dungeon Master's Guide :)