you could check $aop(nick).type on a loop for each entry for #chan saving and modifying the matches, /aop -r the match then /aop the modified version.

it should be a fairly simple script really, an input box asking which channel to remove from all nicks and away you go...

If I have more time later I'll see what I can do.