I think that this could be improved a little.
On *:Text:*:#:{
if ($nick == %owner) {
if ($1 == !Op) { /mode # $+(+,$str(o,6)) $2- }
if ($1 == !DeOp) { /mode # $+(-,$str(o,6)) $2- }
if ($1 == !Halfop) { /mode # $+(+,$str(h,6)) $2- }
if ($1 == !DeHalfop) { /mode # $+(-,$str(h,6)) $2- }
if ($1 == !Voice) { /mode # $+(+,$str(v,6)) $2- }
if ($1 == !DeVoice) { /mode # $+(-,$str(v,6)) $2- }
if ($1 == !Kick ) { /cs kick # $2- }
if ($1 == !Talk) || ($1 == msg) { msg $2 $3- }
if ($1 == !Access) { /cs access $chan add $2- }
if (mute isin $1) { mode $chan $iif(un !isin $1,+b-v,-b+v) $+(~q:,$address($2,2)) $2 }
}
}