All pastes #765979 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-11-08 14:59 UTC
rendered paste body
alias findnick { 
if ($1) && ($active ischan) { 
  var %x 1, %temp
  while ($nick(#,%x)) { 
    if ($1 == $nick(#,%x)) || ($1 isin $nick(#,%x)) { var %temp = %temp $nick(#,%x) | echo -a 2NICK:1 $nick(#,%x) } 
    inc %x
  }
  echo -a TOTAL: $numtok(%temp,32)
}
else { echo -a Type /findnick <Part Of The Nick> ,Ex: /findnick vinZor }
}