Deop Protection

By Jake on May 20, 2006

It's really easy to use. Simply place this in the remote section. If you are deop'ed by someone, it messages them "Very Funny $nick" then opers you, and then kicks them with the message "I don't suggest you do that again."
This will work if you are Chat admin. HOWEVER if you are just AOP or SOP change the "Mode +o $me" to !op.

on 1:DEOP:#: {
  if ($me isreg $chan) {
    msg $chan Very Funny $nick $+ .
    mode +o $me
    timer 1 2 kick $chan $nick I don't suggest you do that again.
    timer
  }
}

Comments

Sign in to comment.
-Fear-   -  Jan 09, 2007

msg $chan Very Funny $nick $+ . <--------why use $chan when u can use #

 Respond  
larry   -  Sep 28, 2006

!op is if the server uses a BotServ, like anope, and there is a bot assign for the room. Then it also wil be the bot who ops and deops like cs.
i would use it this way >>>>
on *:DEOP:#: {
if ($opnick !== $me) halt << if you are deoped
if ($nick == $me) halt << you dont want to be kicked
if ($nick !ison $chan) halt << the cs problem
else {
msg $chan Very Funny $nick $+ .
cs op $chan $me
timer 1 2 kick $chan $nick
}
}

 Respond  
Jake   -  May 21, 2006

Alright I repaired it.

 Respond  
Jake   -  May 21, 2006

er.....ooooh sorry I wrote this for myself, forgetting that most people are not AOP....Lemme repair it

 Respond  
Noutrious   -  May 21, 2006

..and if that nick is chanserv?

 Respond  
Noutrious   -  May 21, 2006

lol, wtf \"!Op\" and if in that chat isn`t modebots?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.