Hmp....
I tried editing the code you gave me a little bit, At first it was sort of working but it isnt.
Like the set -u10 does work indeed and the msg used to work but now it isnt sending it.
I need some help

on *:TEXT:* *#: {
set -u10 %chat 1
}
alias test {
if (%chat == 1) {
msg $1 $read(file.txt, n)
}
}
on *:TEXT:!timers:#: { /timerStartTest 0 300 /test $chan }