Put this in remotes. for channels that have a no temp opping rule for it's ops, this is a simple code that will deop the temp op and will also tell the user to not temp op. Make sure to replace YOURCHANNELHERE with the channel you want this to apply to.
This script was tested before posting it. it works ;] Enjoy!
on *:op:#YOURCHANNELHERE: {
if ($nick == $me) { halt }
if ($opnick == $me) { halt }
mode $chan -o $opnick
msg $chan No temp modding in $chan $+ , $nick $+ .
}
You Do Not Need All Of This
on *:op:#YOURCHANNELHERE: {
if ($nick == $me) { halt }
if ($opnick == $me) { halt }
mode $chan -o $opnick
msg $chan No temp modding in $chan $+ , $nick $+ .
}
All You need is
on *:op:#YourChannel: {
if ( $nick == YourNickHere ) { Halt }
mode $Chan -o $opnick
msg $chan 14 $nick Do Not Temp Mod Here In 4 #
}
So Much Easier And Better Coded.
This might be better as part of a total protection... its like a partial \"bitchmode\"... The way it currently is written though, it would have a continual war with a server bot if applied in channels where there is one... and technically, if this is loaded on a bot, not even the bot owner would be able to access ops. Have a look at the other snippets around on this site that do similar jobs to see how this might be improved.