Jump to content

HTTP/MIRC Scripting Language: Difference between revisions

m
spelling/formatting
(Implementation of HTTP in MIRC Scripting Language)
 
m (spelling/formatting)
Line 1:
{{collection|HTTP}}
A simple implementation of the [[HTTP|HTTP protocol]] in [[MIRC Scripting Language]]. The 'on SOCKREAD' event is structured that way so that it can be re-entered when more data arrives, without loosinglosing any information.
<br clear=right>
 
<lang mirc>; /wget http://www.example.com/somefile.txt
; /wget http://www.example.com/somefile.txt
alias wget {
var %url = $1-
Line 142 ⟶ 141:
sockread %line
}
}</lang>
}
</lang>
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.