This is how I store all my scripts! Every one of them is a draft and the action to call them is this:
var s = Draft.find("UUID of script");
this.eval(s.content);
It makes creating and editing scripts SO much easier!
This is how I store all my scripts! Every one of them is a draft and the action to call them is this:
var s = Draft.find("UUID of script");
this.eval(s.content);
It makes creating and editing scripts SO much easier!