If you need to specify channels you could set a variable

/set %protectmode #chan1,#chan2,#chan3

Code:
on me:*:JOIN:%protectmode: {
  set -e $+(%,mejoin.,#) $true
}
on *:OP:%protectmode: {
  if (($opnick != $me) || ($eval($+(%,mejoin.,#),2))) return
  unset $+(%,mejoin.,#)
  .timerCheckChanModes. $+ # 1 30 CheckChanModes #
}
alias CheckChanModes {
  if ($me !isop $1) return
  if (n !isincs $gettok($chan($1).mode,1,32)) mode $1 +n
}


~ Edit ~
Added a timer and alias.

Last edited by RoCk; 16/12/06 04:42 PM.