Heh, you might as well throw in the menu items for ops since the change allows those to work. And to anyone using this, you can also add in other modes (+/- h, +/- a, etc) if the network supports those modes by just editing the menu as shown below.
menu nicklist {
Voice selected: mass $chan +v $snicks
DeVoice selected: mass $chan -v $snicks
Op selected: mass $chan +o $snicks
DeOp selected: mass $chan -o $snicks
}
And the code I posted should have handled both space and comman-separated lists already. Not sure if you meant that it didn't.
The only change I'd suggest is to change the alias to something that isn't quite so common. "mass" could be used by a lot of scripts and could cause a conflict at some point.
