Scripts that make the saving and loading of .ini files easier. These scripts are slot-based, which means you save and load variables from specific slots.
Writes variables to an ini-file. Place it whereever you want.
i_open("myini.ini") //opening ini-file i_savereal(1,points) //saving points to slot 1 i_savestring(2,name) //saving name to slot 2 i_close() //closing ini-file
Reads variables from an ini-file. Place it whereever you want.
i_open("myini.ini") //opening ini-file
points = i_loadreal(1) //reading points from slot 1
name = i_loadstring(2) //reading name from slot 2 i_close() //closing ini-file