From WikiChip
Difference between revisions of "mirc/identifiers/$iptype"
(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...") |
(No difference)
|
Latest revision as of 16:39, 2 November 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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.