i wanted to have this check for certain in nick!ident@host in channel and count the total the found items wich meet the search patern
this is what i work with so far:

Code

ALIAS IP { set -u10  %ipuser  $1 | who $active  }
Raw 352:*: { 
  if (%ipuser iswm $+($6,!,$3,@,$4)) {
    if (!$window(@IP-SEARCH $+ $chr(160) $+ $network $+ $chr(160) $+ $2)) window -senk0 @IP-SEARCH $+ $chr(160) $+ $network $+ $chr(160) $+ $2
    aline -p @IP-SEARCH $+ $chr(160) $+ $network $+ $chr(160) $+ $2 $chr(160)   $+ $color(action)   $6    --  $+ $color(ctcp) $3 $+  $+ $color(whois) $+  @ $+  $+ $base($color(info),10,10,2) $+ $4  ---  $+ $color(nick) $strip($9-)  ---    $+ $color(normal) $5  
    halt
  }
}


Raw 315:*: { 
  if (%ipuser) { unset %ipuser }
  halt
}



i hope someone can help me to achieve this.

Last edited by Simo; 17/11/24 10:17 PM.