What im trying to do is check for list updates from a socket script by moveing the list over and haveing the sock script rewrite in the original document, then comparing the two. I have no idea why this is stoping at 31 when theres 100 listed in the document. Im open to any different ways to do this if you cant resovle it. Theres reported no errors it just stops.
alias move {
write -c c:\storen.txt
set %i 1
:ok
if (%i <= $lines(c:\store.txt)) {
write c:\storen.txt $read(C:\store.txt,%i)
inc %i
goto ok
}
}