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

Running multiple scripts at once?

If I want to run more than one script at a time does the code go into one field or do I have to put the different scripts into different fields? Thank you!
1445636215
Pat S.
Forum Champion
Sheet Author
Kittykissz, each script would be put into their individual fields. You just input your first script and save it then just click on the new script button. Repeat for each script you input until you have all your scripts then you don't need click on the new script button. API intro wiki
1445778029
The Aaron
Pro
API Scripter
For completeness, I'll mention that you can put all the scripts in a single tab, but you lose the ability to turn them on and off individually. You do gain the ability to copy/paste all your scripts easily and you'll get line numbers that make sense in errors. 
Great, thank you!