From WikiChip
$iptype Identifier - mIRC
< mirc‎ | identifiers
Revision as of 17:39, 2 November 2017 by Ouims (talk | contribs) (Created page with "{{mirc title|$iptype Identifier}}'''$iptype''' returns "ipv4" or "ipv6" if the parameter is a valid IP address format. == Synopsis == <pre>$iptype(text)</pre> == Parameters...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$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