How i can trigger a function when player is spawned

Hi,
I try to repair the mods of Uncle Joey’s, (the motd especially), and i got no idea how to trigger a function when the player is fully loaded with the freecam,

If anybody have an idea it would be great !