Dean, > invite $$1 $gettok(%x,%y,32)can be shortened to
invite $$1 $v1
Alternatively, you can tokenize tokens and do an internal looping on them:
menu nicklist {
.[invite $$1]:{
var %x = $$input(which rooms you want to invite $$1? $crlf put rooms separated by spaces $crlf like #room1 #room2 etc,eo,INVITE), %y = $$1
tokenize 32 $!
invite %y $*
}
}
P.S. There is no reason to use "wtf" to belittle someone's work.