I have a script for this at work... I'll post it in a few hours when I get there if someone hasn't beaten me to it.

I found that it only works reliably for me, If I assign group/perms, one at a time
/g administrators:f
/g @userid:c /e
/g system:f /e
_________________________
How to ask questions the smart way <-----------> Before you ask