From WikiChip
Difference between revisions of "mirc/commands/drawline"
m (Bot: de-linking old mIRC menu) |
(→Switches) |
||
Line 6: | Line 6: | ||
== Switches == | == Switches == | ||
− | * '''-i''' - draws in inverse 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 is minimized | * '''-h''' - highlights the windows icon if it is minimized | ||
* '''-n''' - prevents the display from being updated immediately | * '''-n''' - prevents the display from being updated immediately |
Latest revision as of 11:57, 29 April 2020
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /drawline command draws a line from the first <x y> coordinate to the second, if more coordinates are specified, the line is continued.
Synopsis[edit]
/drawline -ihnr <@win> <color> <size> <x y> <x y> [<x y>...]
Switches[edit]
- -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[edit]
- <@win> - the window's name
- <color> - the color of the line
- <size> - the size of the line (thickness)
- <x y> - the first point
- <x y> - the second point
- [<x y>...] - if you gives more points, it will draw a line from the previous point to that point
Example[edit]
None
Compatibility[edit]
Added: 5.3
See also[edit]
mIRC commands list