From WikiChip
Difference between revisions of "mirc/commands/drawline"
(Created page with "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 == /drawline -i...") |
(→Switches) |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{mirc title|/drawline Command}} | ||
The '''/drawline command''' draws a line from the first <x y> coordinate to the second, if more coordinates are specified, the line is continued. | The '''/drawline command''' draws a line from the first <x y> coordinate to the second, if more coordinates are specified, the line is continued. | ||
Line 5: | 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 | ||
Line 23: | Line 24: | ||
== Compatibility == | == Compatibility == | ||
Added: 5.3 | Added: 5.3 | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* [[List of commands - mIRC|List of commands]] | * [[List of commands - mIRC|List of commands]] | ||
* [[List of identifiers - mIRC|List of identifiers]] | * [[List of identifiers - mIRC|List of identifiers]] | ||
+ | {{mIRC command list}} | ||
− | [[Category:mIRC commands]] | + | [[Category:mIRC commands|drawline command - mIRC]] |
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