on *:OP:#:{ if ($opnick == %anti) mode $chan -o %anti }
on *:JOIN:#:{ if (%CAnti) cs deop $chan %CAnti }
alias Anti {
set %Anti $$?"Who ?"
if (%anti isop $chan) { /mode # -o %Anti }
}
alias CAnti {
set %CAnti $$?"Who ?"
if (%CAnti isop $chan) { /cs deop $chan %CAnti }
}
menu channel,Nicklist {
-
.Anti OP
..Deop give over Me
...$iif(%AntiOP == on,$style(2),$style(0)) Turn On: { /Anti | msg $chan 4Anti OP System is starting now. }
...$iif(%AntiOP == on,$style(2),$style(0)) Turn Off: { /unset %Anti | msg $chan 4Anti OP System stops now. }
-
}
menu channel,nicklist {
-
.Anti Op
..Deop give over ChanServ
...$iif(%CAntiOP == on,$style(2),$style(0)) Turn On: { /CAnti | msg $chan 4CAnti OP System is starting now. }
...$iif(%CAntiOP == on,$style(2),$style(0)) Turn Off: { /unset %CAnti | msg $chan 4CAnti OP System stops now. }
-
}