Alright, I was wondering how to make something like a ban savefile alterable externally by the host (from their machine.)
I was thinking of something along the lines of SS13's admin system, where you open up the admins.txt and change the admins. Thanks.
ID:161133
Jun 13 2008, 11:59 pm
|
|
As Kaioken said look up file2text() and text2file() but you don't actually need to use copytext or findtext, you can use Deadron's text handling library to sort out the resulting text you get from the file (which would have line breaks) into a list with \n as a separator. Of course understanding copytext and findtext would help immensely.
|
You'll also need findtext() and copytext().