read text from file

hey guys :)

this is file where i want to read out:

1
2
3
4
5
6
7
8
9
10
[x]
username=x
password=blahblah
level=1
ep=0
[y]
username=y
password=blahblah2
level=3
ep=90

the console could look like this:


1
2
3
4
Username: x
password: blahblah2
level: 3
ep: 90

Topic archived. No new replies allowed.