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

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


Synopsis

$iptype(text)

Parameters

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

Properties

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

//echo -a $iptype(5.6.7.8)

Compatibility

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

$ip