I use chanpro2.2 tcl script which serves me just fine.
Recently I wanted to change it so the +f users on bots won't be kicked by this script.
The script has protectops but not protect +f users option.
What is the easiest way to implement this?
Here is the relevant if statement:
#checks if the user is an op, if so check if protect_ops is enabled
if {([matchattr $hand o|o $chan] || [isop $nick $chan]) && $chanpro(protect_ops)} {
if {$chanpro(warnings)} {putserv "[subst $chanpro(op_method)] :[subst $chanpro(op_caps)]"}
return 0
}