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

Duplicating Games

Is there a way to copy api scripts when you make a copy of your game?
1472760992
The Aaron
Pro
API Scripter
Not currently, but I have a bookmarklet that can make it easy to get them over (though it doesn't make it easy to manage them as they end up as a single file: javascript:$('<textarea></textarea>').attr({id: 'TheAaronAllScripts'}).css({width:'100%',height: '30em'}).text($('.script .editor').map(function(idx,e){return e.env.editor.getValue();}).toArray().join("\n/* ############################### */;\n\n")).appendTo('body'); Just add a bookmark to chrome with the above in it.  Go to the scripts page for the game you want to copy from and select the bookmark.  That will build a textarea at the bottom of the page with all the scripts concatenated together.  Copy the text and paste it as a new script in the new game and all the scripts will be copied over. That does not copy 1-Click installed scripts or the configurations of scripts, but it can be a pretty fast way to get up and running in a new copy without having to manually copy them all across.
Man you are awesome!  please explain to me what a "1-click" installed script is?
I am sorry but I am so new to all of this maybe that was a stupid question but I just don't know what "1-click installed script is"
1472762399

Edited 1472762438
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
1-click scripts are scripts that have been submitted to the Roll20 repository and are available from the drop-down menu on the api scripts page to be installed without needing to copy/paste them. As an example (and shameless plug :) ):
Hahah!   awesome. thanks guys