Greetings folks,

i have been using this alias for a while and it works fine for searching for nicks in channel with wildcard * as well but when i try with ??? (to search for nick length) it doesnt seem to trigger.

Here is what we work with :

Code

NSearch {
  if ($active !ischan) { echo -stac own This command can only be used on a channel. | halt }
  if (!$1) { echo -a *********** no valid entry was given ************* Syntax : /nsearch som*nick | halt }  
  var %o,%counter,%i = 1
  while ($nick($active,%i,a)) {
    if ( $1 iswm $v1) {
      %o = $addtok(%o,$v2,32)
    }
    inc %i
  }
  if (%o) {
    while %o {
      echo $active $gettok(%o,1-50,32)
      %o = $deltok(%o,1-50,32)
      inc %counter 50
    }
  }
}