The best way is to append all nicks to op/voice/deop/devoice to a list using a foreach loop with if, else conditions and then use pushmode to op/voice/deop/voice all, after which call a flushmode for that channel in quick succession.
Also, depends upon you IRCd/Network type:
# Some networks allow you to stack lots of channel modes into one line.
# They're all guaranteed to support at least 3, so that's the default.
# If you know your network supports more, you may want to adjust this.
# This setting is limited to 6, although if you want to use a higher value,
# you can modify this by changing the value of MODES_PER_LINE_MAX in
# src/chan.h and recompiling the bot.
set modes-per-line 3
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee) PS: Guys, I don't accept script helps or requests personally anymore.
==================================