hi, could anyone tell me why this isnt working?
on *:text:!bla:#: {
sockclose uptime
sockopen uptime www.nightdev.com 80
msg # %read
}
on *:sockopen:uptime: {
sockwrite -n $sockname GET hosted/uptime.php?channel=riotgames HTTP/1.0
sockwrite -n $sockname Host: www.nightdev.com
}
on *:sockread:uptime: {
set %read
sockread -f %read
}
i either get nothing or "Error 400 Bad Request" when tyipng !bla
:s