From WikiChip
Difference between revisions of "mirc/commands/drawline"
< mirc‎ | commands

m (Bot: Adding a template)
(Switches)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{mIRC menu}}
+
{{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 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
Line 30: Line 30:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|drawline command - mIRC]]

Latest revision as of 12:57, 29 April 2020

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]

[Expand]
v · d · e mIRC commands list