Humm... U wanna exec a script, ah? OK:
AT INITIALIZATION:
<param> exec "MyScript.sqs"
Where 'param' are the paramters needed to execute your script; for example an array or an object.
Init: player exec "eject.sqs"
;---eject.sqs---[sample]
_this action ["eject",vehicle _this]
exit
Where '_this' is the object which executes da script - in this case, the player.
do i have to put something in the game directory
Sure you have!
When you compress the mission into .pbo, only the files placed on the mission's directory will be compiled!
Therefore you must copy your script onto the mission's directory - if you place it at a sub-directory you'll have to change the 'exec' syntax: something exec "scripts/MyScript.sqs" - Check it out, might not be right.