From the help file: (last line of on DNS)
You can use $dns(0).nick/addr/ip to reference properties if an address couldn't be resolved.
Now I put this in my first loaded remote script:
on *:DNS:echo -s $dns(0) * $dns(0).ip * $dns(0).addr * $dns(0).nick * | halt
And I typed this in my status window:
/!dns 0.0.0.1
It echoed this:
[14:46:58] * Looking up 0.0.0.1
0 * * * *
Instead of this:
[14:46:58] * Looking up 0.0.0.1
0 * 0.0.0.1] * * *
If I turn my remotes of it echoes this:
[14:51:35] * Looking up 0.0.0.1
[14:51:40] * Unable to resolve 0.0.0.1
I think this is a bug, since $dns(0).ip should return 0.0.0.1