Here is a minimal version of what you will need to query the DNS server and process the response:
; Syntax: /ipcheck IP
alias ipcheck {
.dns $+($reverseIP($$1), .opm.blitzed.org)
}
alias -l reverseIP {
tokenize 46 $1
return $+($4, ., $3, ., $2, ., $1)
}
On *:dns:{
if (*.opm.blitzed.org iswm $dns(1).addr) {
var %IP = $reverseIP($gettok($v2, 1-4, 46))
echo 4 -s IP %IP should be killed.
}
}