what is your version of the GameStudio?
In the version A6 you create one startup very simple:
starter "name_of_starup()"...
look you can see that startup how function ok?
but i don't how the A7 works, so i can't help you in that version...sorry
good luck^^