My style would be to use a socket for this if I were you, but that's just me.
You should consider putting all the schedule info in a text file and play it to the nick who triggers it. This can be done with the /play command with the -t switch. The -t switch will prompt the accordant topics to play. One nice thing is, the play command comes with one second delay so you don't send out all the messages in one shot to appear flood-like.