Originally Posted By: Lpfix5
ON *:SOCKOPEN:forumscan: {
%forumcount = 1
if ($sockerr) { echo -a no connection... | return }
sockwrite -n $sockname GET /discuss/viewforum.php?f= $+ %forumcount HTTP/1.1
sockwrite -n $sockname $crlf
}


Seems like you may have forgotten the HOST (required) - This is because many websites share IP addresses.

Code:
ON 1:SOCKOPEN:forumscan:{
  %forumcount = 1
  if ($sockerr) { echo -a no connection... | return }
  else sockwrite -t $sockname $+(GET /discuss/viewforum.php?f= $+ %forumcount HTTP/1.0,$crlf,Host: www.example.com,$crlf,$crlf)
}

Last edited by The_JD; 13/05/07 05:55 AM.

[02:16] * Titanic has quit IRC (Excess Flood)