mIRC Homepage
Posted By: RusselB wait for active internet connection - 24/03/05 08:41 AM
Is there a way that I could get mIRC to check to make sure that my internet connection is active before it tries to connect to a server? I have a DSL connection, but if I have to reboot the system, while I have mIRC in the startup group along with the program that I need for my DSL connection (for username & password), I find that mIRC tries to connect to the server before I have an active connection to the internet.

Any suggestions?

Moderators: If this is posted in the wrong area, please move it and leave a short note letting me know where it was moved to.
Posted By: DaveC Re: wait for active internet connection - 24/03/05 10:07 AM
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
© mIRC Discussion Forums