mIRC Home    About    Download    Register    News    Help

Print Thread
Converting my .ini save into a csv? #252640
30/04/15 10:47 AM
30/04/15 10:47 AM
Joined: Apr 2015
Posts: 3
X
xtrapsp Offline OP
Self-satisified door
xtrapsp  Offline OP
Self-satisified door
X

Joined: Apr 2015
Posts: 3
Hey all,

So I have a points system I use, currently writing to an .ini file through this:

writeini Points.ini $nick Points %userPoints

But I'm thinking about maybe writing it to csv in this format:

Column 1 | Column 2
$nick, | %userPoints


Would this be possible?

Thanks

Re: Converting my .ini save into a csv? [Re: xtrapsp] #252641
30/04/15 11:18 AM
30/04/15 11:18 AM
Joined: Jan 2004
Posts: 1,271
L
Loki12583 Offline
Hoopy frood
Loki12583  Offline
Hoopy frood
L

Joined: Jan 2004
Posts: 1,271
It's possible but it seems terrible.

Re: Converting my .ini save into a csv? [Re: Loki12583] #252642
30/04/15 03:25 PM
30/04/15 03:25 PM
Joined: Apr 2015
Posts: 3
X
xtrapsp Offline OP
Self-satisified door
xtrapsp  Offline OP
Self-satisified door
X

Joined: Apr 2015
Posts: 3
Why? I need the file readable by java which is better to do through a CSV

Re: Converting my .ini save into a csv? [Re: xtrapsp] #252643
30/04/15 06:23 PM
30/04/15 06:23 PM
Joined: Jun 2014
Posts: 248
B
Belhifet Offline
Fjord artisan
Belhifet  Offline
Fjord artisan
B

Joined: Jun 2014
Posts: 248
You have
writeini Points.ini $nick Points %userPoints
this is what writeini is
writeini file section item value
you could use
writeini points.ini points $nick $+ , %userPoints

Re: Converting my .ini save into a csv? [Re: Belhifet] #252647
01/05/15 10:01 AM
01/05/15 10:01 AM
Joined: Apr 2015
Posts: 3
X
xtrapsp Offline OP
Self-satisified door
xtrapsp  Offline OP
Self-satisified door
X

Joined: Apr 2015
Posts: 3
Originally Posted By: Belhifet
You have
writeini Points.ini $nick Points %userPoints
this is what writeini is
writeini file section item value
you could use
writeini points.ini points $nick $+ , %userPoints


Yea, It's an ini atm, but I'm unsure of how to save as a csv :P