I think you want to show one line of your script or some other text file, one new line every 10 seconds?
on *:TEXT:-program:#: {
if (%linenumber == $null) { set %linenumber 1 }
set %programchannel $chan
if ($group(#programgroup).status != on) { .enable #programgroup }
playprogram
}
#programgroup off
alias playprogram {
msg %programchannel $read[color:red](program.txt[/color],%linenumber)
inc %linenumber
advanceline
}
alias advanceline {
if (%linenumber > $lines([color:red]program.txt[/color]) { unset %linenumber | unset %programchannel | .disable #programgroup | halt }
.timerprogram 1 10 playprogram
}
#programgroup end
Note: Replace the file name (shown in red) with the actual file name.
I have not tested this but I think it will work for what I think you wanted.