I want my bot to report the output of /dns hostname when .dns hostname is posted in the chan...so i used this:on

*:TEXT:.dns *:*:{
/set %botdns $dns($2)
.notice $nick %botdns


but it always comes back as 0 for some reason