Ok so i basically have a ini file and it looks somewhat like this

Code:
[#acpixel]
1=test
2=test1
3=test2
4=test3

and so on, and things get added all the time so it is endless.

so what i need is something so that if i have a command that lets people remove #2 it would end up like this,

Code:
[#acpixel]
1=test
3=test2
4=test3


And then the script automaticly fixes it and makes it
Code:
[#acpixel]
1=test
2=test2
3=test3


I dont know if this is possible but if it is i would love some help.

Last edited by acpixel; 19/08/15 09:31 AM.