Hi,

Someone can help me? I don't understand why it doesn't return type 0. It just returns me from 1-9 and ignores the type 0 ban

Code
alias mask.sub {
  if ($1 isnum 0-9) { return $iif($1 == % [ $+ [ $2 ] $+ ] .mask,$style(1)) $+(&,$1,. $mask($iif($3,$3,nick!ident@some.host.com),$1),:chg,$2,mask) $1 }
}

Example:
[Linked Image from i.ibb.co]


TECO
irc.PTirc.org (Co-Admin)