Exact channel names, and any user except for the person/bot running the script.
The script could be modified to account for any or all of the items you've mentioned.
If you'll specify what you want:
examples: all channels that start with the name listed or only exact channel matches
only regular users are banned, voiced and regular, just voiced, half-ops exempt, ops exempt
Do you want to specify the ban mode on a ban by ban basis, or a single setting for all bans?
The more specific the details regarding what you want, the easier it is for me to write.