Hey, I want to have my bot do dns's for all the registered users of the bot. I Know how to set it to check for access but i am not sure of how to go about doing the dns'ing and sending the response to the channel. This is what i have so far.

on *:TEXT:.dns *:#:{
/set %userlevel $readini(ftpxusers.dat, $nick, Level)
if (%userlevel isnum 1-3) {
/dns
}
else {
.notice $nick You Do Not have access to this command
}
}