From WikiChip
$onpoly Identifier - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$onpoly returns $true if two polygon overlap, $false otherwise
Synopsis[edit]
$onpoly(n1,n2,x1,y1,xN1,yN1,x2,y2,xN2,yN2,...)
Parameters[edit]
- n1 - the number of points defining the first polygon
- n2 - the number of points defining the second polygon
- x1 - the x coordinate of the first point for the first polygon
- y1 - the y coordinate of the first point for the first polygon
- xN1 - the x coordinate of the Nth point for the first polygon
- yN1 - the y coordinate of the Nth point for the first polygon
- x2 - the x coordinate of the first point for the second polygon
- y2 - the y coordinate of the first point for the second polygon
- xN2 - the x coordinate of the Nth point for the second polygon
- yN2 - the y coordinate of the Nth point for the second polygon
Properties[edit]
None
Example[edit]
None
Compatibility[edit]
Added: mIRC v5.8
Added on: 05 Sep 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.