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

API scripts do not get deleted

August 25 (10 years ago)

Edited August 25 (10 years ago)
I was working on some scripts in a campaign where I'm Co-GM (https://app.roll20.net/campaigns/details/499537/tenro-bansho-zero) but I noticed that even when removing all the scripts they seem to still be running and the output console shows messages generated by log calls that have been eliminated from the scripts a few versions back.
If I add the scripts back the console shows both the old output and both the output of the script I just saved.

Edit: The "hidden" script starts on a "change:attribute:current" event.
Edit2: The issue seems to have been resolved somehow (possibly closing the campaign was enough). I will post again if the problem presents itself again.
August 26 (10 years ago)

Edited August 26 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
Look to see if you have a hidden tab in your scripts that has no name. It will show up as an extra wide space between other tabs, and will get a table outline when you point to it.

I've run across this several times:


See the wide space?


Here it is with the tab highlighted.
August 26 (10 years ago)
Thanks I'll be sure to look for the hidden tab if this happens again.
August 26 (10 years ago)
The Aaron
Roll20 Production Team
API Scripter
If you didn't explicitly remove it, it might still be there but not causing any issues right now. I had one hanging out for weeks before I figured out what was going on. =D Good luck!