If you fix your problem you should show the correct solution!

set %sl [ $+ [ %slid ] ] word1 word2
echo -a First word is $gettok(%sl [ $+ [ %slid ] ],1,32)