Jethro commented on a Page, nicklist invite  -  Feb 03, 2011

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.

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.