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

Copy scripts between campaigns

Is it possible to copy scripts between campaigns without doing it manually one by one?
1453948001
The Aaron
Pro
API Scripter
Not currently. If you're on chrome and have a bit of browser savvy, I've got a bookmarklet somewhere that can assemble all your scripts from one page into a single file to make things easier...
Aw, that's a shame. No thanks, I'll just do things the old fashioned way.
1453949119
The Aaron
Pro
API Scripter
It's pretty easy....  Bookmark with this in it, click it on the scripts page, then scroll down and select everything in the textarea, copy paste in a new tab in the new campaign. 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');