The solution is not to use any of names that mIRC prohibits you from using. The names will change from system to system, but here is a list of devices on my computer obtained by running the program mentioned
in the thread I linked to.
http://pastebin.com/GzZkEwh9