This is unrelated to my previous COM suggestion so i posted a new thread:
$com().result is obviously bound to the ~900 char limit, however in alot of cases you would get more back from it. Now since mIRC must(?) get back the whole deal anyways why not allow us to somehow read that buffer ?
i.e the following works because the return is less then 900 chars.
alias xmlhttp if ($+(xml,$com(0))) return $v1
alias msxml {
.comopen $xmlhttp msxml2.xmlhttp
noop $com($v1,open,1,bstr,get,bstr,http://hiscore.runescape.com/index_lite.ws?player=zezima,bool,-1) $&
$comcall($v1,response,send,1)
}
alias response {
noop $com($1,responseText,2)
echo -a ResponseText: $com($1).result
.comclose $1
}
(i'm not a runescape player btw!)
However connecting to a bigger site your unable to get the response back. It would be absolutely brilliant to do something like this:
while ($com($1).resultbr) echo -a $v1
or even better:
while ($com($1,400).result) echo -a $v1
which would fetch the result in sets of 400 characters. Not sure if the 2nd parameter can be built in like that though.
Kind Regards.