Code: Select all
bind mode - *+o* no_manual_op
proc no_manual_op {nick uhost hand chan mode victim} {
if {([matchattr $hand b]) || ([matchattr $hand n])} {
putlog "Manual OP on $chan by $nick for $victim"
} else {
putserv "MODE $chan -o $nick"
}
}
now ...
I want to add this check :
if opped user are n/b stay opped , else is deopped
Can you help me please ?