on *:event:*: {
var %time = 1
var %lines = 1
while ( %lines <= $lines(yourfile.txt) ) {
.timer 1 %time $read(yourfile.txt,%lines)
/* Put a command to execute here. You can
then use the above $read() to read some
sort of stuff from your file and use it
im your command. */
inc %time
inc %lines
}
}
}