you must name the file the same as you put after the function call
i.e. if you put
function my_script_main(e)
you would need to call the file
my_script.lua
note the _ is needed in both cases as spaces are not allowed
also if you are planning on having multiple custom scripts you need to also include an function *name*_init(e) & end statement before the function *name*_main(e) call otherwise it will cause a stack error
life's one big game
windows vista ultimate
i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11