This is a feature that I have
asked for before. Basically, you would like to have an EXEC_AFTER_PLAYER or such command to run some program after the player has started. I need the same thing, since my Palantir program needs to irattach the IrDA port after the player has loaded.
You could check out my script that comes with the empire (server side IrDA listener) package
here. It's a hack to delay until the player has started, it just uses 'sleep' to wait for 10 seconds, then continues execution of the script. It's messy, but it works.