hi
why 2 menu??
menu channel,Nicklist {
-
.Anti OP
..Deop give over Me
...Turn $iif(%AntiOP,Off,On):Xme
..Deop give over ChanServ
...Turn $iif(%CAntiOP,Off,On):Xchan
-
}
alias Xme {
if (!%antiop) {
set %anti $$?"Who ?"
if (%anti isop #) mode # -o $v1
set %antiop 1
}
else unset %Anti %antiop
msg # 4Anti OP System $iff(%antiop,is starting,stops) now.
}
alias Xchan {
if (!%CAntiOP) {
set %CAnti $$?"Who ?"
if (%CAnti isop #) { cs deop # $v1 | mode # -o $v1 }
set %CAntiOP 1
}
else unset %CAntiOP %CAnti
msg # 4CAnti OP System $iff(%CAntiOP,is starting,stops) now.
}
on @*:OP:#:if ($opnick == %anti) mode # -o $v1
on *:JOIN:#:if (%CAnti) cs deop # $v1