From WikiChip
/drawfill Command - mIRC
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /drawfill command fills an area with the specified color starting at the specified co-ordinates.
Synopsis
/drawfill -ihnrs <@win> <color> <color> <x y> [filename] [<x y>...]
Switches
- -s - indicates that the second color parameter is the color that should be filled (surface fill), if -s is not used specified, the second color is the border color at which filling should stop (border fill)
- -i - draws in inverse color mode. You can find the final color based on the two color by using $xor($xor(currentcolor,16777215),drawncolor). Drawing the same color gives white and may be used to create transparency effect.
- -h - highlights the windows icon if it is minimized
- -n - prevents the display from being updated immediately
- -r - indicates that the color is in RGB format
Parameters
- <@win> - the window's name
- <color> - the color used for the fill
- <color> - the color used to know how to fill (if -s, it fills as long as the color of the pixels around is the same color as the one you provide here, otherwise, it fills as long as the color of pixel is not the color you provide here)
- <x y> - the coordinate where to fill
- [filename] - if specified, a bitmap .BMP file that is 8 by 8 pixels in size and is used as a fill pattern
- [<x y>...] - more coordinates to apply the same fill on
Example
None
Compatibility
Added: 5.3
See also
mIRC commands list