/sockopen should have those two switches to specify if we want to resolve the host to an ipv4 or ipv6 ip address.
Related topic: https://forums.mirc.com/ubbthreads.php/topics/250921#Post250921


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