I did see that "/msg -n #channelname message" minimizes the channel along with sending the message.
If I make the changes suggested in my above post, this will no longer work in the next beta. Any scripts that use /msg -n will break since -n will be treated as a nickname.
On the other hand, I could make it work by supporting switches -snxmd only if combinations of those letters are used. If any other letters are used, the parameter would be treated as a nickname.
Either way, a compromise has to made - either to support the new switches or to unsupport them and revert to pre-v7.52 compatibility - including the support for -s, which would still be an issue for scripts.
Basically, there is no good solution to this. We need to pick the least worst option.