FordLawnmower commented on a Page, DNSBL v4 (Update)  -  Jan 23, 2010

The script is much better now TophBeiFong :)

I would, however, suggest using /userip and raw 340 instead of using /whois

In raw 340 this -->> $gettok($1-,2,64) <<-- will be the ip address
So if you changed whois to userip, you would need a raw 340 something like this.

raw 340:*:{
  set %dns.ip $1-
  tokenize 46 %dns.ip
  .dns $+($4,.,$3,.,$2,.,$1,.dnsbl.dronebl.org)
}

You should also #group the On DNS and raw 340 and enable/disable them when this script is inuse/notinuse. If you don't group the events, they will trigger when you don't want them to.

After you group them, I would suggest adding haltdef at the top of the events to save resources.

Much better script now though TophBeiFong. Good work :)

By the way, imo, you should take a little more time and consideration when making a decision to delete someones comments. Some people spend more time on their comments then you did on the original script you posted. A lot of the comments you deleted could have been very useful to others browsing this site and looking for an answer to a specific question.

While I still don't like people putting giant code blocks on my posts, this was a lesson I also had to learn.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.