As was mentioned many times before, the option itself doesn't stop the problem if you're /joining without -n. You need to update your script to make sure you join the channels minimized.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"