Sure, you just need to read and write data from/to an .ini file

http://en.wikichip.org/wiki/mirc/ini_files