Quote r3dw1ng (

)
So I 'd like to know what are the commands that can be used through scripts.
As far as I am aware at this time, the currently available scripting commands can be found in the "scripts.txt" file in the /docs sub-folder of your Space Engine installation folder.
There is also an example.sc script in the /docs/scripts folder that you can have a look at to get an idea of how to write and run the scripts.