DNS Script For mIRC

By EcKstasy on Jun 18, 2008

DNS Script for mIRC x.x ,handy script to find out IP's of web addresses,No need to be an IRC operator or above,It was tested on my IRC network (EScript) so there is no problems with it,And also,please keep the critisizm out,that is why I set up my own site for scripts ;)

Image

on &*:DNS:{
  set -u1 %:echo echo $color(info) -ti2 $+ $iif(($_isactive) && (@* !iswm $active), a, s)
  set -nu1 %::me $me | set -nu1 %::server $server | set -nu1 %::port $port
  set -nu1 %::pre 12.11.13.
  set -nu1 %::c1 00 | set -nu1 %::c2 11 | set -nu1 %::c3 13 | set -nu1 %::c4 12
  if ($dns(0)) {
    var %i = 1, %t = $dns(0)
    while (%i <= %t) {
      set -nu1 %::nick $dns(%i).nick
      set -nu1 %::address $dns(%i)
      set -nu1 %::iaddress $dns(%i).ip
      set -nu1 %::naddress $dns(%i).addr
      set -nu1 %::raddress $remtok($dns(%i).ip $dns(%i).addr, $dns(%i), 1, 32)
      %:echo 10.... 11Resolved 15~» 14 $+ $iif((%::raddress == %::iaddress), %::naddress, %::iaddress) $+ 15~» 11To 15~» 07 $+ %::raddress $+  | haltdef
      inc %i
    }
  }
  else {
    set -nu1 %::nick $nick
    set -nu1 %::address $address
  }
  unset %:echo %::nick %::address %::iaddress %::raddress %::naddress %::me %::server %::port %::pre %::c?
}

Comments

Sign in to comment.
Fuzion   -  Jun 20, 2008

nice and simple good work :)

 Respond  
guest598594   -  Jun 19, 2008

Ah.

I do this at school all the time to get around blocked websites, all you do is go to command prompt and type \"ping site.com\" and it gives you the number :)

 Respond  
napa182   -  Jun 18, 2008

type /dns www.whatever.com

 Respond  
guest598594   -  Jun 18, 2008

How do you use it?

 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.