1) create empty folder + empty mirc.ini
2) run mirc.exe
3) close the option dialog
4) execute /server irc.swiftirc.net -i randomnicknamehere -j #randomchannelhere
5) execute /exit -nr, this is probably the unexpected step.
6) step 5) created the two entries:
Quote
wchannel=-1,w,-1,h,1,1,0
wchannel-SwiftIRC=-1,w,-1,h,1,1,0
Note that mIRC uses '1' for the window's state (non maximized) instead of 2 (maximized) even if you maximized the channel window before /exiting mIRC.
Note also that mIRC use -1 for x and y even if the window is not maximized before /exiting, I'm not sure that's correct.

I suppose this step is the cause of the issue.

7) execute once again /server irc.swiftirc.net -i randomnicknamehere -j #randomchannelhere
8) click on the icon of #randomchannelhere and select position > save
9) execute /exit -nr
10) step 9) created the two entries:
Quote
#randomchannelhere=x,w,y,h,Z,1,0
#randomchannelhere-SwiftIRC=x,w,y,h,Z,1,0
Note this time that Z correctly represents the state of the channel window (1 or 2) at the time you did position > save.
Note also that mIRC use 0 for x and y if the window is maximized before saving, not -1 like step 6).

With those four entries, mIRC won't maximize the channel window (I only tested the channel on the network given in this report), testing the "save all" option has probably no effect in this case.


#mircscripting @ irc.swiftirc.net == the best mIRC help channel