on *:text:!part:#:{ if ($nick isop $chan) || ($nick ishop $chan) { part $chan part used by $nick } }