mIRC Home    About    Download    Register    News    Help

Print Thread
#271327 15/02/23 08:07 AM
Joined: Feb 2023
Posts: 3
S
sadlol Offline OP
Self-satisfied door
OP Offline
Self-satisfied door
S
Joined: Feb 2023
Posts: 3
I'm trying to write an entry for a Google Spreadsheet

The link is like this

And my code is like this
Somewhere I have a mistake that I can't figure out.

Any help will be appreciated


https://docs.google.com/forms/u/9/d...FEMdmg/formResponse?entry.4604913=mytext



alias Web {
sockclose Web
sockopen Web docs.google.com 80
}

on *:sockopen:Web: {
if ($sockerr > 0) { return }
sockwrite -n Web /forms/d/1XnWS5TGH-gAH81_OTy3fW5nVRQ9o2rP19X0h0FEMdmg/formResponse?entry.4604913=7777
sockwrite -n Web HOST docs.google.com $+ $crlf $+ $crlf

}

on *:sockread:Web: {
if ($sockerr) {
echo -a Error.
halt
}
else {
var %temptext
sockread %temptext
echo -a %temptext
}
}

Joined: Jan 2004
Posts: 1,358
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Jan 2004
Posts: 1,358
The url is https so you must open with sockopen -e Web docs.google.com 443


Link Copied to Clipboard