on 1:sockopen:IOS:{
sockwrite -n $sockname GET /IOS/ $+ %IOS.request HTTP/1.0
sockwrite -n $sockname User-Agent: IOS 1.0/mIRC $version
sockwrite -n $sockname Host: www.host.com $+ $crlf $+ $crlf
}
on 1:sockread:IOS:{
if ($sockerr) { echo -a IOS Socket Error. | halt }
else {
sockread %temp
echo -a : %temp
}
unset %IOS.request
}