maybe you should look into using $modespl in ur mode settings the code it's self has a lot of redundancy in it. also this
oplvl deprotect # $nick } Else { oplvl deprotect # $2-
can be
oplvl deprotect # $iif(!$2,$nick,$2-)
and so on