mIRC Homepage
Posted By: fallen248 dns - 21/03/03 11:56 AM
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
}
}
Posted By: c0ldfusi0n Re: dns - 21/03/03 11:58 AM
/help ON DNS
Posted By: Othello Re: dns - 22/03/03 02:00 AM
It is possible to do a DNS check on each registered nick entering a channel but you will notice some users may have two or more DNS addresses depending on there Provider.

Code:
  [color:red]
on *:dns: {
  set %userlevel $readini(ftpxusers.dat, $nick, Level)
  if (%userlevel isnum 1-3) { COMMAND }
}
on *:join:#YOURCHAN: {
  dns $nick
}
 [/color]  
© mIRC Discussion Forums