$iptype returns "ipv4" or "ipv6" if the parameter is a valid IP address format.
- text - The string you want to know the ip type of
If an ipv6 is given, you can use the following properties:
- .compress - returns the compressed version of the ip address
- .expand - returns the expanded version of the ip address
Added: mIRC v7.0
Added on: 02 Apr 2010
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.