Originally Posted By: argv0
As mentioned above you need to store the data in files or binary variables. /bset or /fopen would be good /help topics to look at


Ok, so I guess I have no choice but to store it directly to a file. I presume like this:

on *:sockread:test:{ sockread -n &test | bwrite thetest.txt -1 -1 &test }

Since you cant manipulate binary variables, I guess my only choice is to read in the file and manipulate the data.

So do I have to use /fopen and $fread to handle files with really long lines? Is it the only way? The html code im trying to filter only has 200+ lines, but a few of the lines are over 65,000 characters long!

I need to go through the 65,000+ line and filter everything between the text:

<div class="results" (everything in here up to) </table></div>
The data inside is over 2,000 characters, so I'm not sure how im expected to use mIRC to pattern match that.

Is there an easy way to do that? Argh mIRC is so limited smirk