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

Help with enabling new scripts

Hi, Sorry for the question but I'm struggling to find a non-technical answer...  I want to add the Spawn script to my game but I cannot find a way to do that - I copied the code from Github but it flags an error and disables my other scripts.  Is there an easy to follow set of instructions for importing API scripts that are not in the 1-click library? Thank you!!
1623847253

Edited 1623847323
when you have the api section up click on new script a new one will appear titled untitled.js which is blank (underneath will be a output console) paste it in there fully rename the script to what you want click save
1623847426
The Aaron
Roll20 Production Team
API Scripter
Here's a pretty great little video on it by Nick O.:&nbsp;<a href="https://www.youtube.com/watch?v=jam2yx8btaQ" rel="nofollow">https://www.youtube.com/watch?v=jam2yx8btaQ</a>
The Aaron said: Here's a pretty great little video on it by Nick O.:&nbsp; <a href="https://www.youtube.com/watch?v=jam2yx8btaQ" rel="nofollow">https://www.youtube.com/watch?v=jam2yx8btaQ</a> i think thats where i learned how to add my first one from
1623852164
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
Make sure you click the "raw" button when getting the code from github. This will ensure you are copying only and entirely the text of the script, and no random line numbers, html, or extra characters.
Thank you very much everyone, that is exactly what I needed!&nbsp; #Amazing!