So...

The script would look how...

Quote:
alias rndline { return $read($findfile($scriptdir $+ Texts\,*.txt,$rand(1,$findfile($scriptdir $+ Texts\,*.txt,0))),n) }

on *:connect:{ .timerrndline 0 3600 msg #mychannel $!rndline }
on *:part:#mychannel:{ .timerrndline off }