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

(Switches)
m (Bot: de-linking old mIRC menu)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
{{mirc title|/editbox Command}}
 
The '''/editbox command''' provides the ability to edit the editbox of a window according to the switches. To specify a dcc chat window, prefix the nickname with an equal sign '='.
 
The '''/editbox command''' provides the ability to edit the editbox of a window according to the switches. To specify a dcc chat window, prefix the nickname with an equal sign '='.
  
Line 21: Line 22:
  
 
== Example ==
 
== Example ==
 +
A popup example
 +
 +
Add a smileyface to the second edit box:
 +
 +
<source lang="mIRC">/editbox -oq ☺ $+ editbox($chan,1)</source>
  
 
== Compatibility ==
 
== Compatibility ==
 
Added: 5.1
 
Added: 5.1
 
Added On: 28/08/97
 
 
<small>Note: Individual switches were not taken into consideration.</small>
 
  
 
== 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]]
* [[$editbox identifier - mIRC|$editbox]]
+
* {{mIRC|$editbox}}
 +
{{mIRC command list}}
  
[[Category:mIRC commands]]
+
[[Category:mIRC commands|editbox command - mIRC]]

Latest revision as of 18:19, 15 June 2017

The /editbox command provides the ability to edit the editbox of a window according to the switches. To specify a dcc chat window, prefix the nickname with an equal sign '='.

Synopsis[edit]

/editbox [-saf[N]nopbNeNvqN] [window] <text>

Switches[edit]

  • -s - specifies the Status window
  • -a - specifies the Active window
  • -fN - if N = 1 sets focus, if N = 2 uses editbox with focus
  • -p - indicates that a space should be appended to text
  • -n - fills the editbox and presses the enter key in the editbox
  • -o - applies the command to the second editbox in a channel window
  • -bN - set the start of the selection
  • -eN - set the end of the selection
  • -v - used with -f and -q, prevents the editbox contents from being changed
  • -qN - disables the second editbox with N = 0, enables it with N = 1, and toggles the state if N = 2

Parameters[edit]

  • [window] - if the switch doesn't involve a window to be used, you must provide it
  • <text> - the text used for the edition

Example[edit]

A popup example

Add a smileyface to the second edit box:

/editbox -oq ☺ $+ editbox($chan,1)

Compatibility[edit]

Added: 5.1

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