OK here's the problem. I have a file that's name "responses.txt" and it looks like this:

1:blaggh:blaggh to you
2:poo:you said sompin with poo in it
3:crap:you said crap sompin

i.e. number:1st string:2nd string

This isn't what it's going to look like in the end, but this is just my test. Now, in the code there are three variables: firstnum, whatsaid, and saydis. This part of the program needs to do something like this.

-Open responses.txt
-Start a loop until the end of the file
--Read the first/next line
--Put the number into firstnum
--Put the 1st string into whatsaid
--Put the 2nd string into saydis
--Do some stuff based on what the variables are (i already have this...don't need help for it
-Continue Loop
-Close responses.txt

So if you know how, please help me out.