alt-r/file/new/add this line.

on *:START:{ .timer 1 5 disconnect | .timer 1 60 server irc.yourserverhere.net | timers }

you dont actually need the | timers bit near the end, but it lets you see the two timers so you remebr they are there.
whats it do?
.timer 1 5 disconnect : this disconnects you in 5 seconds incase you left connect on startup on
.timer 1 60 server irc.yourserverhere.net : this connects you to your server of choice in 60 seconds, rename the server obviously
timers this just lists the running timers