you can simply replace [ and ] with some other chars when doing /writeini, and later when doing $readini replace them back