perhaps you could make another .txt file for the answers and use the $readn to call the answer from there ?
for instance
on *:TEXT:!riddle:*:{
/msg $nick $read(riddle.txt)
/timer 1 10 /msg $nick $read(amswer.txt,$readn)
}
that would read a randome line from riddles.txt and then read the coresponding line in answer.txt but riddle 1 and answer 1 would have to each be on line one of thier respective files .
i havent tested it but it should work