Okay, I think your problem was solved in a forum post, but for anyone that finds this, the gsc script does have the functions in it, although it was meant to put in its own script, but no other function shares the same name so you are okay with that. But you never actually call or thread the function init, that would start the whole thing, and that is why nothing is happening.
Edit: In this case, you could actually just put the on_connect lines in the main function and you don't need the init function at all.