Jethro commented on a Page, Rainbow Colors  -  Aug 09, 2011

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.

 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.