Alright, I was wondering though I'm not for sure how.
When something, and there is no resolved address.. I would like it to echo the address that wasn't resolved, I tryed the several $DNS().nick/addr/ip (even without the props). But I still can't get it to echo the addr even if it wasn't resolved.
So for example here is just my code (just used mIRC's)
on *:DNS:{
var %n = $dns(0)
echo -a $timestamp $sides(/DNS:,6) Found %n addresses for [[ $+ $iif(!$dns(1).addr,$dns(1),$dns(1).addr) $+ ]]
while (%n > 0) {
echo -a $timestamp $sides(/DNS:,6) IP: $dns(%n).ip $iif($dns(%n).nick,NICK: $dns(%n).nick)
dec %n
}
}
Say I DNS'd something, it would return either:
Found N addresses for [ some.addr.com/ip ]
Say if it didn't resolve:
Found 0 addresses for [ ].
How can I get it to say
Found 0 addresses for [ the.adddr.or.ip.i.was.trying.to.resolve./ip ]
In mIRC help it says: "You can use $dns(0).nick/addr/ip to reference properties if an address
couldn't be resolved."
I'm not for sure, but I even tryed all those and still returns $null.
Anyone got any ideas? Maybe make a new suggestion if this isn't possible for mIRC to return the address trying to be resolve if it couldn't be resolved? :|