I haven't heard that 6.16 doesn't support /var command yet. :/
You can add the -l switch, which will make your /set command as a local variable like so:> on :input:: {
if ($left($1-,1) != /) {
haltdef
set -l %count 1
while (%count <= $len($1-)) {
set -l %rainbow %rainbow $+ $+ $gettok(04.07.08.09.11.13,$r(1,6),46) $+ ,01 $+ $iif($mid($1-,%count,1) != $chr(32),$mid($1-,%count,1),$chr(32) $+ $chr(32))
inc %count
}
msg $active %rainbow
}
}the -l switch is undocumented but function the same as /var. With a local variable, you don't need to have it unset at the end.