There are some ways to do it, but not many reliable ones. ICQ does it with it's 'netdetect' agent, however, that only works for Dial-up. Another way to do it might be for mIRC to periodically check for the presence of an IP address. There are problems with that too, However there are probably other methods. It might help if mIRC had an option to place itself in the system tray on windows startup, to compliment this feature. Although i doubt that would be added because of recent viruses.