; Lookup a IP address.
/dns 8.8.8.8
; Listen to the DNS event and print the results from the lookups.
on *:DNS:{
var %n = $dns(0)
echo 4 Found %n addresses
while (%n > 0) {
echo 4 dns: $dns(%n) nick: $dns(%n).nick addr: $dns(%n).addr ip: $dns(%n).ip
dec %n
}
}