On *:text:+i:#: { If ($nick isop #) && ($nick == $me) { Mode # +i Msg # $nick set "invite only" on # }