on *:text:.mode *:#: { if ($isowner(#chan,$nick) != $true) && ($isadmin(#chan,$nick) != $true) { if ($nick isreg $chan || $nick isvoice $chan) { .notice $nick You don't have access to this command. } elseif ($nick ishop $chan) { mode $chan $removecs($2,h,o,a,q,c,f,j,l,p,s,z,C,G,M,K,L,Q,R,S,T,V,u,E) } elseif ($nick isop $chan) { mode $chan $removecs($2,a,q,L,u) } else { $iif($isowner(#chan,$nick) == $true,mode $chan $2-,mode $chan $removecs($2,a,q,L,u)) } } }