You can include the sockclose in multiple ways. One way is to just do it before opening a new one as shown. You can also do something like:

Code:
if (</html> isin %temptext) { sockclose qrz }


... or something similar. Note that you can adjust that so that it closes after the last line of data that you *need*. In other words, if you only needed the first 10 lines of text, you could make it close after that first 10 lines so that you don't waste bandwidth downloading a lot of extra html that isn't needed.


Invision Support
#Invision on irc.irchighway.net