I am unsure, but I quickly considered such file:


"abc
[section]

def

[section]
realitem=data"

Your /write won't care about any single thing, it finds a match it's let's go, there are absolutely 0 check done related to an ini structure, I strongly feel like this would create issues over the time.
That being said I quickly thought as well that /writeini wouldn't be a great super hero here and would also use the first occurence of [section] here, which may not be so wrong, still feel like /write should be avoided, /writeini should have a switch to do it.

Last edited by Wims; 25/09/19 02:14 PM.

Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net