mIRC Home    About    Download    Register    News    Help

Print Thread
Page 2 of 2 1 2
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Depending on the site you are on HTML 1.0 sometimes does not pull data, if i come across a site ill pm it to you one day vs. 1.1


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Oct 2007
Posts: 10
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Oct 2007
Posts: 10
Ok Im back, one more question-

I am grabbing

Code:
<html>
Blah blah
more words
maybe some more
and more words
</html>


But its only sending back the first line?

Edit: And it is saying

"(First word in the line) Unknown Command"

In the status window.

Last edited by Moptop650; 27/10/07 09:00 PM.
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Can you update me with the link of the data your trying to get? because from yesterday I get your Price: : 6,000gp - 8,000gp


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Im sorry replace this sockread script your using :

Code:
on 1:sockread:home:{
  if ($sockerr > 0) return 
  var %x | sockread -fn %x
  if ($regex(%x,/(Content-|X-Powered|Server:|Date:|HTTP/1)/g) == 1) { return }
  elseif ($nhtml(%x) == $null) { return }
  else {
    echo -a %x
  }
}


Just replace that sockread part.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Joined: Oct 2007
Posts: 10
M
Pikka bird
OP Offline
Pikka bird
M
Joined: Oct 2007
Posts: 10
That works, thanks! smile

Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
yw


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Page 2 of 2 1 2

Link Copied to Clipboard