I am no expert at mIRC scripting, I just see things a different way than most do it seems as I do things an odd way. I figure as long as it works and does what you want it to then all is well. If there are better ways to do things then by all means show me , or others , so people can learn and grow in their scripting.
I use the sockclose event as that is how I learned sockets and I am to lazy to alter it now :P