PLEASE READ ALL INSTRUCTIONS (press slash) Normally detecting / is impossible in scratch! Well, I downloaded it and went into project.json to custom-code a single block to allow detection of /. In other words, i changed the project to add a /. Remix this project and use it as you will
Credits to scratch for letting me do this :)