First of all, your /test example uses a text value in %t, not a numerical value, so it's obviously not going to work... in case that wasn't just a typo, /help $gettok.

Regardless, variables are evaluated fine in $gettok(), you can test it with something as simple as

//var %t = 3 | echo -a $gettok(a b c d,%t,32)

Your problem is elsewhere and nothing of what you posted can help us determine it: you need to provide more context.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com