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

m (Bot: Automated text replacement (-<small>Note: Individual switches were not taken into consideration.</small> +))
(Switches)
 
(6 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
 
Added On: 13/12/97
 
 
 
  
 
== See also ==
 
== See also ==
Line 33: Line 30:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|drawline command - mIRC]]

Latest revision as of 11: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]

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy