mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2006
Posts: 13
H
Pikka bird
OP Offline
Pikka bird
H
Joined: Jan 2006
Posts: 13
Basically, I'm trying to read off a website where its in this format:

 
Info 1
Info 2
Info 3
Info 4
Info 5
Info 6

I'm connected in all, I just need to know how to read things consecutively, I can accomplish it if it were all in 1 line.

Thanks, how would I increment in this issue?

Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Code:
on *:sockread:[color:red]socket[/color]:{
  var %data
  sockread %data
  if (%data ==  ) inc %i
  elseif (%i) echo -a %data
}
on *:sockclose:[color:red]socket[/color]: unset %i


Link Copied to Clipboard