on *:mode:*:{
  if ($nick != $me) && ($me isop $chan) {
    if (+i isin $1-) { kick # $nick Don't put "Only Invite" mode! | mode # +b $mask($fulladdress,5) | mode # -i | return }
    if (+p isin $1-) { kick # $nick Don't put "Private" mode! | mode # +b $mask($fulladdress,5) | mode # -p | return }
    if (+k isin $1-) { kick # $nick Don't put keys! | mode # +b $mask($fulladdress,5) | mode # -k $1- | return }
    if (+d isin $1-) { kick # $nick "+d" is erroneus mode | mode # +b $mask($fulladdress,5) | mode # -d $1- | return }
    if (+l isin $1-) { kick # $nick Don't limit the chan! | mode # +b $mask($fulladdress,5) | mode # -l | return }
    if (+s isin $1-) { mode # -s | return }
    if (+m isin $1-) { mode # -m | return }
    if (+e isin $1-) { mode # -e $1- | return }
    else /halt
  }
}
Published in: mIRC
Download

Related snippets