You could do
mode # +qao $nick $nick $nick
Instead of setting them after each other / one at the time.