Hey that was a cool game! I love to see a Puzzlescript game.
As others have mentioned, it's a bit hard to explain the mechanics fully so I also got stuck misunderstanding how it works.
Nonetheless, I enjoyed this! Good stuff.
If you liked that one, how about the one made by Galactical ?