on *:SOCKREAD:sockname:{
if ($sockerr) { return }
:loop
if (!$sockbr) { return }
sockread &bvardata
set %sockdata %sockdata $+ $bvar(&bvardata,$bvar(&bvardata,0)).text
goto loop
}
on *:sockclose:sockname:{
if ($sockerr) { return }
echo -a %data
}
Something for thought though: mIRC has a text buffer that allows only so many characters to be handled at one time. So if the page is to big you will get a "Set line to long" error
Doesn't matter, the page is never too big.
__________________________ Curiosity killed the cat.