Untitled
public text v1 · immutablealias go {
/sockopen test netlifegaming.com 80
}
on *:sockopen:test: {
sockwrite -nt $sockname GET / HTTP/1.1
sockwrite -nt $sockname Host: netlifegaming.com $+ $crlf $+ $crlf
}
on *:sockread:test: {
echo -a bla
if ($sockerr) {
echo -a Error.
halt
}
else {
echo -a bla
var %temptext
sockread %temptext
echo -a %temptext
}
}