From WikiChip
$iptype Identifier - mIRC
< mirc‎ | identifiers

$iptype returns "ipv4" or "ipv6" if the parameter is a valid IP address format.


Synopsis[edit]

$iptype(text)

Parameters[edit]

  • text - The string you want to know the ip type of

Properties[edit]

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

Example[edit]

//echo -a $iptype(5.6.7.8)

Compatibility[edit]

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.


See Also[edit]

$ip