Let's say you wanted to get
www.website.com/file.mrc, you would do it like this:
alias getmrc sockopen getmrc website.com 80
on *:sockopen:getmrc:{
var %s = sockwrite -n getmrc
%s GET /file.mrc HTTP/1.1
%s Host: website.com
%s Accept: */*
%s Connection: close
%s
}
on *:sockread:getmrc:{
var %data
sockread %data
if (%data) write file.mrc $v1
}
The above code will save the file in your mIRC directory, you need to change the filepath in the /write command in the sockread event if you want to save it elsewhere.
You should be able to modify this to meet your needs