Originally Posted By: Riamus2
As I said, you cannot just write to the mIRC.ini file with /writeini. It isn't like normal INI files. As soon as you close mIRC, it will revert to the original.


That doesn't happen, actually. The /writeini solution works fine here.

I've tested here with the code below:
Code:
alias test {
  writeini $qt($mircini) chanfolder n0 #editing_a_channel,,,"BRASnet",,,"BRASnet"
  writeini $qt($mircini) chanfolder n16 #adding_a_channel,,,"BRASnet",,,"BRASnet"
}


It works fine after I enter /test and it keeps the new data after I restart mIRC.
I don't have any ON EXIT event, by the way. Tested it with a clean mirc.ini (except for the [chanfolder] section copied from my own).