mIRC Home    About    Download    Register    News    Help

Print Thread
#85461 05/06/04 02:58 PM
Joined: May 2004
Posts: 11
P
PHM Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2004
Posts: 11
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?

#85462 05/06/04 03:31 PM
Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
wrong link removed (sorry, I need more coffee I guess) blush

Last edited by CtrlAltDel; 05/06/04 03:46 PM.

I refuse to engage in a battle of wits with an unarmed person. wink
#85463 05/06/04 03:38 PM
Joined: May 2004
Posts: 11
P
PHM Offline OP
Pikka bird
OP Offline
Pikka bird
P
Joined: May 2004
Posts: 11
is that going to read from a web page though?

#85464 06/06/04 06:45 PM
Joined: Jun 2003
Posts: 114
T
Vogon poet
Offline
Vogon poet
T
Joined: Jun 2003
Posts: 114
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.


-------------
I am the self-appointed God of needlessly complex mIRCscript.

Link Copied to Clipboard