mIRC Homepage
Posted By: PHM sockets line - 05/06/04 02:58 PM
I'm trying to write a socket script
is it possibly
if there are only 3 lines on a web page
thats it just 3 lines
to have each line go intoa variable?
Posted By: CtrlAltDel Re: sockets line - 05/06/04 03:31 PM
wrong link removed (sorry, I need more coffee I guess) blush
Posted By: PHM Re: sockets line - 05/06/04 03:38 PM
is that going to read from a web page though?
Posted By: Thray Re: sockets line - 06/06/04 06:45 PM
Possible, sure. Not too pretty. I'll leave out the connecting part, thats the fun of it! If you need help, post again and if I see it I'll include that too.

Anyway, what you want to do is connect and then start recieving the input. If its a WEBSITE, not just a text file, then it will have commands saying that it is the end of a line... <br> and <p> most likely.
So split the chunk of text you get by those.

Alternately, if its text.. then it should split it as you recieve it I think.
© mIRC Discussion Forums