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

Do scripts get backed up somewhere? :)

May 05 (11 years ago)
Konrad J.
Pro
API Scripter

I just pushed the backspace to delete a few characters and the focus wasn't on the editor so it took be back a few web pages.  I went forward again and then pressed save.  I just save the code I originally had from 3hrs ago. :(  Oh well that will teach me.  Gotta copy the scripts as a backup.

May 05 (11 years ago)
Riley D.
Roll20 Team

Uh-oh, sorry. I mean they are backed up along with everything else in the DB, but we don't save "revisions" of them or anything, so I don't think that would help here.

I'll try and add something so that if you modify a script it confirms before you leave the page.

May 05 (11 years ago)
Konrad J.
Pro
API Scripter

:)  I didn't think so, not your fault.  God I did so much, I have no idea where to start again! :)  The dang backspace button has gotten me a couple times.

THanks

May 05 (11 years ago)
Alex L.
Pro
Sheet Author

I wouldn't recommend using the built in editor for making your scripts anyway, don't get me wring its very nice but its no replacement for n++ or sublime

May 05 (11 years ago)
Riley D.
Roll20 Team

Alex L. said:

I wouldn't recommend using the built in editor for making your scripts anyway, don't get me wring its very nice but its no replacement for n++ or sublime

I agree, if you're at the point where you're spending hours and hours writing scripts, probably best to edit them in your own editor so you can save a copy to your computer, then just paste it in to the Roll20 editor when you want to actually run them.

Sorry again, I know that is very frustrating.

May 05 (11 years ago)
Konrad J.
Pro
API Scripter

Alex L. said:

I wouldn't recommend using the built in editor for making your scripts anyway, don't get me wring its very nice but its no replacement for n++ or sublime

I'm just beginning.  But I will try and look into upgrading. :)  Thanks!

May 05 (11 years ago)
Konrad J.
Pro
API Scripter

only myself to blame.  You have to make a mistake first to learn.