From WikiChip
Difference between revisions of "mirc/commands/drawdot"
m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +)) |
(→Switches) |
||
(6 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 6: | 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. | ||
Line 21: | Line 22: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|5.3}} | |
== See also == | == See also == | ||
Line 48: | Line 49: | ||
{{mIRC command list}} | {{mIRC command list}} | ||
− | [[Category: | + | [[Category:mIRC commands|drawdot command - mIRC]] |
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