I'm looking at your code, not really understanding what's going on, but this striked me as odd:

Code:
    inc %question
    while %question <= $lines(questions.txt) {
      question $nick $address %question 
      inc %question
    }


Is that sequence what you intended?