The problem with WSH's regread method is that it returns the result from a REG_BINARY key in a VBarray rather than a string, so we can't access it in mIRC.
The trick is to use a COM object to execute some VB
#mircscripting @ irc.swiftirc.net == the best mIRC help channel