/mode <nick> -i should work just fine.
Did you perhaps use #nick or an incorrectly spelled nick?
Assuming the server is not setting the mode on its own accord, you can also go to Tool > Options > Connect > Options and uncheck Use invisible mode (which automatically makes mIRC set +i after connecting).