If ($strip($1) == mop) mode $chan -o $nick
in this rule you need to add a - for 'mop' -> '-mop' Little buggie