Try this code that I modified from RusselB's version.

[code]
on *:sockread:blah:{
if ($sockerr) {
echo -a Error.
return
}
var %data
sockread %data
if (<tr><td>*</td><td>*</td><td>*</td><td>*</td><td>*</td></tr> iswm %data) {
inc %row
set $+(%,row,%row) $nohtml(%data)
}
}

Each row is stored in variables like %row1 %row2 etc. One for each matching line of data that is sent on the socket.

-genius_at_work