Hi guys,

Just wondering how to grab a specific item like...

Quote:
D: 52.38 kb/s | U: 10.98 kb/s


if mirc.php displays that - how do i grab just the "U: XX.X lb/s" area, code below which grabs the whole thing for mirc.php

Code:
alias meh sockopen mirc domain.com 80

on *:sockopen:mirc:{
  sockwrite -n $sockname GET /mirc.php HTTP/1.1
  ; This is telling the socket to connect to the specific page, using "GET".
  sockwrite -n $sockname Host: domain.com $+ $crlf $+ $crlf
  ; This states the host once again.
}

on *:sockread:mirc:{
  if $sockerr { 
    echo 4 -a Error $v1 on $sockname : $sock($sockname).wserr ( $sock($sockname).wsmsg ) 
    return 
  }
  var %x
  sockread %x
  while $sockbr {
    if ( D: * iswm %x ) { echo -a %x }
    ;echo -a %x
    sockread %x
  }
  sockread -f %x
  ;echo -a %x
  if ( D: * iswm %x ) { echo -a %x }
}


I also wondered how do i grab a list of all files displayed on a website eg. "www.domain.com/list/" and getting rid of those lame html languages/codes/