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
}
}
!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
}
}