#include <acknex.h>
#include <default.c>
function main( )
{
level_load("small.hmp");
ent_create("earth.mdl", vector(10, 20, 30), NULL);
}

Is what I wrote in the script I'm running, and if you want the default code, that's 340 lines long.