; Code released under public domain. ; /set %i 1 ; /timer -m 0 10 renlog.read alias renlog.read { set %len $lines(renlog.txt) while (%i < %len) { inc %i renlog.parse $read(renlog.txt, %i) } } ; You can use tokens here to parse specific text. alias renlog.parse { echo $1 }