what do you mean you don't get a response?
i tried
on *:text:!followers:#:{
test
}
alias test {
sockopen test nightdev.com 80
}
on *:sockopen:test: {
sockwrite -n $sockname GET /hosted/followers.php?channel=aler360&limit=5 HTTP/1.0
sockwrite -n $sockname Host: nightdev.com $crlf $+ $crlf
}
on *:sockread:test: {
if ($sockerr) { return }
var %read | sockread -f %read
while ($sockbr) {
if (%read != $null) echo -ag %read
sockread -f %read
}
And it echo the entire page back. It's the same code you are using, with my updated sockopen code block that I posted earlier. All the read part is doing is echo anything that is read from the server. This means that you should be getting a response. Your if statements probably aren't checking correctly