This page shows how moonscript can be used inside Moon.
How to use moonscript ingame
Scripts can be easily imported by putting your script files in .minecraft\Moon\scripts.
You can easily find your Moon folder by typing .config folder and then going into the parent folder of that.
A closer description of how you unload / load scripts can be found by typing .script help in the minecraft chat.