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 .
×
D&D 2024 has arrived! Pre-order the new core rulebooks now and get an exclusive pre-order bonus for free!
Create a free account

Spinning up new sandbox

I cant seem to get any scripts to run in my campaign. When I save the scripts I get the output "Spinning up new sandbox..." and then nothing. Is this normal behavior? If it is a bug does anyone have any idea what might be causing it?
1420927544

Edited 1420927965
DXWarlock
Sheet Author
API Scripter
Once the button goes from "Saving" to "Saved" its done and ready. You should get: Restarting sandbox due to script changes... Spinning up new sandbox... Thats normal letting you know that its started back up. Scripts won't do anything on their own, something has to trigger it. (Unless its an 'on ready' script but those the majority of the time don't 'do' anything other than backend, no visible result) What sort of problems do you have with the script? is it throwing an error, or not doing anything at all when something should trigger it, etc. Could you paste one of the scripts your using, and what its suppose to do? I can slap it in one of my test games and try it. Try putting this one in and saving it, it should tell you in chat API started: on("ready", function() { sendChat('API', "/desc API STARTED"); });