mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2004
Posts: 6
D
defIEd Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Sep 2004
Posts: 6
Hello, I sockread a html file, but because the sockread goes too fast I have to store it with bwrite. Now I want to strip stuff, search href(links) etc but i can't $read it to a normal var because the line is too long. How do I read these long lines from the index.html file in my dir.
Alias readfile {
bread index.html 1 100 &var
echo $bfind(&var, 1, href)
}
doesn't work...

thanks!
defIEd

Joined: Sep 2003
Posts: 84
T
Babel fish
Offline
Babel fish
T
Joined: Sep 2003
Posts: 84
I've an html reader to, but i strip the stuff if I get the sockread. I don't have any problems with it...

just use:

sockread %temp (to set the temp to %temp ;-))
%temp = $replace(%temp...........)

^^ I use this and it works fine (no error's with line to long or something else)

Joined: Sep 2004
Posts: 6
D
defIEd Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
D
Joined: Sep 2004
Posts: 6
ok so I have found out how to fix this problem. I have found a dll called breaker.dll which breaks up the long sentences so that mIRC can read them. The file is located in an archive on mircscripts.org


thanks for the help


Link Copied to Clipboard