Try to put this code into the Remotes (alt +r) tab.

Code:
ON *:OPEN:?: { closemsg $nick }


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-