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

[Request] Is this script possible?

1445976938

Edited 1445979739
Hi all, I am a complete beginner with API and Java in general, so I figured I would ask if this was possible, and if so how easy it would be to do before I spent hours on hours trying to put something together. Essentially what I'm after is a way to port data into Rollable tables. I realize this is slightly one off niche thing, as once the game set up, there will be no need for the script, but as there is no duplicate function, and the fact that all entries need to be manually added, edited then saved. I was wondering if it was possible to essentially port in a table as it's starting to become a rather long process to add 50+ entries to large numbers of tables. I noticed Aaron had a script to port between accounts, so I figure stuff can be done with the tables via API. In my head I had a very similar system to Kryx's Shaped Monster importer Whereby you could copy data such as (As a simple example) 10 Normal Weapon 8 Common Weapon 6 Uncommon Weapon 4 Rare Weapon 2 Very Rare Weapon 1 Legendary Weapon Where the initial number is the weighting, and the text is the title of that item. And paste it either via excel or word into a Token? or Handout? And from there port it into a table? Many thanks in advance. As an extended side note, is there any way of imputing an inline roll on a table item name?
Check out this thread .
Thank you kindly, didn't realise it had the secondary function on it.
1445997546
The Aaron
Pro
API Scripter
I updated the original post to have importing in the title.  =D BTW, just so you don't go looking into the wrong programming language, the API is written in Java script
1446008995

Edited 1446009028
Thanks :P  That's potentially a very long couple of hours you just saved me :P