Immusama
Explore posts from servers❔ How do I store data properly?
So I'm streaming on Twitch and I have a program called Streamer.Bot which allows me to use C# to execute code.
I have a very basic and limited understanding about C# and coding in general ~ what I'm trying to do is store my viewers data in specific categories I define myself.
The main problem I'm having is understanding how to store the acquired data into a file (I haven't figured out another way yet, either .txt, .csv or .ini).
An example how I'm imagining it:
.ini file is named after my viewer's username in a folder with all the others:
I wanna be able to read it and override specific keys if I so desire. (Most of it is automatic)
To sum it up, I know how to write it into a file but I don't know how to format it properly and check for specific sections and key+values and override them.
7 replies