I can't think of any efficient way to do that excep to make individual checks for certain channels. I don't really see the point of doing that, but you can do something like this:

if ($nick !ison #NonCommonChannel) { mode #NonCommonChannel +b $address($$1,2) }
if ($nick !ison #NonCommonChannel2) { mode #NonCommonChannel2 +b $address($$1,2) }
if ($nick !ison #NonCommonChannel3) { mode #NonCommonChannel3 +b $address($$1,2) }

Edit: Sorry, I think it is probably better to place the code elsewhere...

If you're doing this, put the checks before each occurance of these lines, do not attempt to change anything except the channel names, unless you know what you are doing:
Code:
    if ($comchan($$1,0) != 0) {
      var %i = 1


The result should be something like:

Code:
    if ($nick !ison #NonCommonChannel) { mode #NonCommonChannel +b $address($$1,2) }
    if ($nick !ison #NonCommonChannel2) { mode #NonCommonChannel2 +b $address($$1,2) }
    if ($nick !ison #NonCommonChannel3) { mode #NonCommonChannel3 +b $address($$1,2) }
    if ($comchan($$1,0) != 0) {
      var %i = 1

Last edited by schaefer31; 29/10/05 11:00 PM.