This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var store = require ("/FULL/PATH/TO/1999/INSTALL/lib/store.js"); | |
if (screenName == "stoppableforce") { | |
var newpath = "/BASE/FOLDER/TO/COPY/FILES/TO/" + relpath; | |
var pathCorrectedBody = body.split("configured.url.with/user/yourusername").join("shorter.snappier.url"); | |
store.newObject(newpath, pathCorrectedBody, type); | |
} | |
/* | |
What needs to be personalized for this on your system: |