From WikiChip
Difference between revisions of "mirc/commands/drawdot"
m (bot: sort-key added to category) |
(→Switches) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{mirc title|/drawdot Command}} |
The '''/drawdot command''' draws a dot to the specified coordinates with a specific color in a specific picture window | The '''/drawdot command''' draws a dot to the specified coordinates with a specific color in a specific picture window | ||
Line 7: | Line 7: | ||
== Switches == | == Switches == | ||
* '''-r''' - use RGB color instead of the mIRC [[Colors - IRC|standard colors]] | * '''-r''' - use RGB color instead of the mIRC [[Colors - IRC|standard colors]] | ||
− | * '''-i''' - draws in inverse color mode. | + | * '''-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's minimized. | * '''-h''' - highlights the windows icon if it's minimized. | ||
Latest revision as of 11:55, 29 April 2020
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /drawdot command draws a dot to the specified coordinates with a specific color in a specific picture window
Synopsis[edit]
/drawdot -ihnr @ <color> <size> <x y> [<x y>...]
Switches[edit]
- -r - use RGB color instead of the mIRC standard colors
- -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's minimized.
Parameters[edit]
- <color> - mIRC Color to draw with (unless -r is used, then RGB color is used)
- <size> - radius
- <x y> - coordinates
- [<x y>...] - more optional coordinates
Example[edit]
;draws a small black dot in the top left of the window /drawdot @PicWin 1 1 10 10
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.
See also[edit]
- List of commands
- List of identifiers
- $window
- $click
- $mouse
- $inellipse
- $inrect
- $inroundrect
- $inpoly
- $onpoly
- $rgb
- $getdot
- $height
- /drawcopy
- /drawfill
- /drawline
- /drawpic
- /drawrect
- /drawreplace
- /drawsave
- /drawscroll
- /drawtext
mIRC commands list