i am using mirc v6.17

i have put my mirc in auto startup folder.
but the second step is,

i want to use sockets detect internet connection in every 5 minutes. If connection is on internet, my mirc client auto connecting to irc server.

thanks.