Hello, mIRC does not have such feature and the scripting language does not offer a way to do this, or not easily.
You should ask this as a feature https://forums.mirc.com/ubbthreads.php/ubb/newpost/Board/6


#mircscripting @ irc.swiftirc.net == the best mIRC help channel