ok, didn't realize about the -e switch, and I also removed the extra space.
still does not seem like anything is happening after opening the socket.
I have the "echo -tag" posted as such
alias youtube {
sockopen -e ytube www.googleapis.com 443
echo -tag socket open
}
on *:sockopen:ytube:{
if ($sockerr) {
sockclose $sockname
halt
}
sockwrite -n $sockname GET /youtube/v3/playlistItems?part=id&playlistId=<playlist ID Here>&key=<api key here> HTTP/1.1
sockwrite -n $sockname Host: www.googleapis.com
sockwrite -n $crlf
echo -tag socket write
}
and also one in the sockread block. The only thing that is responded to is "socket open" which means that the code is hanging in, or not executing in the sockopen block, right?