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

Is there any way to force script to nullify all its variables?

Hello! I'm using this script for several years already:&nbsp; <a href="https://app.roll20.net/forum/post/2691179/script-timetracker-tracking-ingame-time-and-events" rel="nofollow">https://app.roll20.net/forum/post/2691179/script-timetracker-tracking-ingame-time-and-events</a> And recently I've got a bug (probably) - for some reason I was able to add Event without any name with 10 minutes time length.&nbsp; However, when those 10 minutes pass, this event just somehow add itself again.&nbsp; I tried to delete script completely. But when I add script again, it starts to use old variables, as if those variables are not deleted when script is deleted.&nbsp; How can I delete all variables for my campaign that were used previously by scripts?
1722819374
timmaugh
Pro
API Scripter
If it persists beyond uninstalling the script, it's likely something in the state (a permanent-ish storage for your game). We can give you a really quick script let to run that will delete that script's footprint in your sandbox, but we need to know where, specifically, it stores it's stuff. Load up the script called Inspector, and run this command: !inspect --state If you can't tell from the output what property the script uses (or properties, I guess), share what Inspector kicks out to the chat output.