Find User In channel with host I.P

By sukhbira on Mar 03, 2013

Find a nickname which on a channel you are in using their Host/IP
just put the i.p and find the user with nick name

Dialog nfind { 
  title "Nick find" 
  size -1 -1 126 137 
  option dbu 
  box "Search:", 1, 2 1 121 50 
  box "Result:", 2, 2 52 121 71 
  list 3, 6 61 112 58, size 
  edit "", 4, 32 13 85 10 
  combo 5, 32 25 85 50, size drop 
  text "Host/Ip", 6, 6 15 24 8 
  text "Channel:", 7, 5 26 25 8 
  button "&Scan", 8, 97 37 19 12, default 
  button "&Ok", 9, 104 124 19 12, ok 
} 

On *:Dialog:NFind:*:*:{ 
  if ($devent == init) { 
    loadchannels 
  } 
  if ($devent == Sclick) { 
    if ($did == 8) { 
      scanforhost 
    } 
  } 
} 

Alias -l loadchannels { 
  var %chans = 1 
  while (%chans <= $chan(0)) { 
    did -ia NFind 5 $chan(%chans) 
    inc %chans 
  } 
} 

Alias -l scanforhost { 
  .enable #nfinder 
  var %host = $did(NFind,4), %channel = $did(NFind,5) 
  var %y = $ialchan($+(*,%host),%channel,0) 
  if (%y == 0) { did -ra nfind 3 No Match } 
  else { 
    did -ra nfind 3 Host: %host 
    did -a nfind 3 ------------------------------------------------------ 
    while (%y) { 
      did -a nfind 3 $gettok($ialchan($+(*,%host,*),%channel,%y),1,33)) 
      dec %y 
      if (%y == 0) { .disable #nfinder } 
    } 
  } 
} 
#nfinder off
raw 352:*:{ halt } 
raw 315:*:{ halt } 
#nfinder end 

Menu Channel { 
  - 
  Nick Finder:dialog -ma NFind NFind 
  - 
} 

Comments

Sign in to comment.
fraguk   -  Mar 04, 2013

How would you know the users ip/host ?

blackvenomm666  -  Mar 04, 2013

well @fraguk either you'd have to be admin or mod on another channel which would give you at least part of the hostname/ip on certain servers.

Sign in to comment

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.