mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
Scripts & Popups Jump to new posts
Re: add popup permission for topic change Simo Yesterday at 06:58 PM
excellent thanks epic
4 291 Read More
Scripts & Popups Jump to new posts
Re: search nicks including the amount of chars used Simo 11/10/24 08:53 PM
ive edited it and this seems to work as expected incase someome needs it as well :

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 or /nsearch som??*nick | halt }  
  var %o,%counter,%i = 1
  while ($nick($active,%i,a)) {
    var %nicks $v1
    if ( $1 == ? && $len( %nicks ) >= $len($1)) {   %o = $addtok(%o,$v2,32) }
    if ( $1 iswm %nicks ) {  %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
    }
  }
}

1 71 Read More