me uses mirc6.03
there it says that /dns -h treats everything as hostname
therefore it should always try to resolve and show IP
it doesnt...
my script:
on *:DNS:{
if ($dns(0).ip) {
set %whois.ip $dns(0).ip
}
elseif ($dns(1).ip) {
.echo -s Unable to retreive IP, trying to resolve hostname...
.dns %whois.ip
}
elseif ($dns(0).ip == 0) {
.echo -s Unable to resolve anything
}
}
in this logic if IP isnt get on first dns, it tries again, so this time
it resolves host to get ip...
but this dont work
i again get host as output
anyone care to explain why?