OK, thanks for that. I'll post the actual script in here then, since it sounds like that will help. I'm not totally sure how to do the things you said.

I haven't got any blank lines in my trivia.txt, all of the questions are on the next line after the previous one, like this:

Blue and Green make?|**l*o*|y*l*o|Yellow
1 + 1 = ?|*|*|2

There's no gap at the top of the .txt file, the questions start from the first line.

Last edited by admeister; 26/08/07 11:56 PM.