setlist *favNums "hello" "there" "general" "kenobi" set &count 0 getlistat *favNums $count &tmp stdlnout $tmp add $count 1 &count getlistsize *favNums &tmp2 inequal $count $tmp2 &tmp3 if $tmp3 %3 stdlnout "finished!"