From WikiChip
Difference between revisions of "mirc/identifiers/$inrect"
(Created page with "{{mirc title|$inrect Identifier}}'''$inrect''' returns {{mIRC|$true}} if the specified point is inside the specified rectangle, {{mIRC|$false}} otherwise == Synopsis == <pre...") |
(No difference)
|
Latest revision as of 15:09, 1 February 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$inrect returns $true if the specified point is inside the specified rectangle, $false otherwise
Synopsis[edit]
$inrect(x1,y1,x,y,w,h)
Paramters[edit]
- x1 - the x coordinate of the point
- y1 - the y coordinate of the point
- x - the x coordinate of the rectangle
- y - the y coordinate of the rectangle
- w - the width of the rectangle
- h - the height of the rectangle
Properties[edit]
None
Example[edit]
//echo -a $inrect(50,50,10,10,100,100)
Compatibility[edit]
Added: mIRC v5.3
Added on: 13 Dec 1997
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.