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

 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
The action command is used to send an action message to the active window. Since it does not take a target parameter, that command is the kind of command that is mostly used manually, it cannot be used within events that are triggered by anything other than the user directly from a given channel. For example: it can be used within the on input or hotlink events but not within the on text. To be able to generate an action message from any event to any window, consider using the /describe command instead.
+
{{mirc title|/action Command}}
 
+
The '''/action''' command is now deprecated in favour of the  identical '''/me''' command and is used to send an action message to the active window. Since it does not take a target parameter, that command is the kind of command that is mostly used manually, it cannot be used within events that are triggered by anything other than the user directly from a given channel. For example: it can be used within the on input or hotlink events but not within the on text. To be able to generate an action message from any event to any window, consider using the /describe command instead.
  
 
An action message is simply a regular PRIVMSG that follows a client-dependent format - usually different to that of a normal message. The raw format for an action message is:
 
An action message is simply a regular PRIVMSG that follows a client-dependent format - usually different to that of a normal message. The raw format for an action message is:
Line 12: Line 12:
  
 
== Switches ==
 
== Switches ==
 
+
None
  
 
== Parameters ==
 
== Parameters ==
Line 23: Line 23:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v2.1a
+
{{mIRC compatibility|2.1a}}
 
 
Added On: 28/02/1995
 
 
 
 
 
 
 
<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]]
* [[$me identifier - mIRC|$me]]
+
* {{mIRC|$me}}
* [[$nick identifier - mIRC|$nick]]
+
* {{mIRC|$nick}}
* [[/amsg command - mIRC|/amsg]]
+
* {{mIRC|/amsg}}
* [[/describe command - mIRC|/describe]]
+
* {{mIRC|/describe}}
* [[/me command - mIRC|/me]]
+
* {{mIRC|/me}}
* [[/msg command - mIRC|/msg]]
+
* {{mIRC|/msg}}
* [[/qme command - mIRC|/qme]]
+
* {{mIRC|/qme}}
* [[/qmsg command - mIRC|/qmsg]]
+
* {{mIRC|/qmsg}}
* [[/say command - mIRC|/say]]
+
* {{mIRC|/say}}
 
 
[[Category:mIRC commands]]
 
 
 
<div style="margin-top: 20px;">
 
<div class="toccolours mw-collapsible mw-collapsed" style="display: block;">
 
mIRC Commands Reference List:
 
<div class="mw-collapsible-content">
 
<!-- Commands -->
 
<div style="background-color: rgba(255,255,255,.36); padding: 7px;">
 
<table cellspacing="0" cellpadding="7px;" style="display: block;">
 
 
 
<tr>
 
<td style="padding-right: 10px; vertical-align: top;">
 
<span style="display: block; font-weight: bold;">A</span>
 
[[/abook command - mIRC|/abook]], [[/action command - mIRC|/action]], [[/add command - mIRC|/add]], [[/ajinvite command - mIRC|/ajinvite]], [[/alias command - mIRC|/alias]], [[/aline command - mIRC|/aline]], [[/ame command - mIRC|/ame]], [[/amsg command - mIRC|/amsg]], [[/anick command - mIRC|/anick]], [[/aop command - mIRC|/aop]], [[/auser command - mIRC|/auser]], [[/auto command - mIRC|/auto]], [[/autojoin command - mIRC|/autojoin]], [[/avoice command - mIRC|/avoice]], [[/away command - mIRC|/away]]
 
 
 
<span style="display: block; font-weight: bold;">B</span>
 
[[/background command - mIRC|/background]], [[/ban command - mIRC|/ban]], [[/bcopy command - mIRC|/bcopy]], [[/beep command - mIRC|/beep]], [[/bindip command - mIRC|/bindip]], [[/bread command - mIRC|/bread]], [[/break command - mIRC|/break]], [[/breplace command - mIRC|/breplace]], [[/bset command - mIRC|/best]], [[/btrunc command - mIRC|/btrunc]], [[/bunset command - mIRC|/bunset]], [[/bwrite command - mIRC|/bwrite]]
 
 
 
<span style="display: block; font-weight: bold;">C</span>
 
[[/channel command - mIRC|/channel]], [[/clear command - mIRC|/clear]], [[/clearall command - mIRC|/clearall]], [[/clearial command - mIRC|/clearial]], [[/cline command - mIRC|/cline]], [[/clipboard command - mIRC|/clipboard]], [[/close command - mIRC|/close]], [[/closechats command - mIRC|/closechats]], [[/closedccs command - mIRC|/closedccs]], [[/closefserves command - mIRC|/closefserves]], [[/closemsg command - mIRC|/closemsg]], [[/cnick command - mIRC|/cnick]], [[/color command - mIRC|/color]], [[/colour command - mIRC|/colour]], [[/comclose command - mIRC|/comclose]], [[/comlist command - mIRC|/comlist]], [[/commands command - mIRC|/commands]], [[/comopen command - mIRC|/comopen]], [[/comreg command - mIRC|/comreg]], [[/continue command - mIRC|/continue]], [[/copy command - mIRC|/copy]], [[/creq command - mIRC|/creq]], [[/ctcp command - mIRC|/ctcp]], [[/ctcpreply command - mIRC|/ctcpreply]], [[/ctcps command - mIRC|/ctcps]]
 
</td>
 
 
 
<td style="vertical-align: top;">
 
<span style="display: block; font-weight: bold;">D</span>
 
[[/dcc command - mIRC|/dcc]], [[/dccserver command - mIRC|/dccserver]], [[/dde command - mIRC|/dde]], [[/ddeserver command - mIRC|/ddeserver]], [[/debug command - mIRC|/debug]], [[/dec command - mIRC|/dec]], [[/describe command - mIRC|/describe]], [[/dialog command - mIRC|/dialog]], [[/did command - mIRC|/did]], [[/didtok command - mIRC|/didtok]], [[/disable command - mIRC|/disable]], [[/disconnect command - mIRC|/disconnect]], [[/dlevel command - mIRC|/dlevel]], [[/dline command - mIRC|/dline]], [[/dll command - mIRC|/dll]], [[/dns command - mIRC|/dns]], [[/dqwindow command - mIRC|/dqwindow]], [[/drawcopy command - mIRC|/drawcopy]], [[/drawdot command - mIRC|/drawdot]], [[/drawfill command - mIRC|/drawfill]], [[/drawline command - mIRC|/drawline]], [[/drawpic command - mIRC|/drawpic]], [[/drawrect command - mIRC|/drawrect]], [[/drawreplace command - mIRC|/drawreplace]], [[/drawrot command - mIRC|/drawrot]], [[/drawsave command - mIRC|/drawsave]], [[/drawscroll command - mIRC|/drawscroll]], [[/drawtext command - mIRC|/drawtext]]
 
 
 
<span style="display: block; font-weight: bold;">E</span>
 
[[/ebeeps command - mIRC|/ebeeps]], [[/echo command - mIRC|/echo]], [[/editbox command - mIRC|/editbox]], [[/else command - mIRC|/else]], [[/elseif command - mIRC|/elseif]], [[/emailaddr command - mIRC|/emailaddr]], [[/enable command - mIRC|/enable]], [[/events command - mIRC|/events]], [[/exit command - mIRC|/exit]]
 
 
 
<span style="display: block; font-weight: bold;">F</span>
 
[[/fclose command - mIRC|/fclose]], [[/filter command - mIRC|/filter]], [[/findtext command - mIRC|/findtext]], [[/finger command - mIRC|/finger]], [[/firewall command - mIRC|/firewall]], [[/flash command - mIRC|/flash]], [[/flist command - mIRC|/flist]], [[/flood command - mIRC|/flood]], [[/flush command - mIRC|/flush]], [[/flushini command - mIRC|/flushini]], [[/fnord command - mIRC|/fnord]], [[/font command - mIRC|/font]], [[/fopen command - mIRC|/fopen]], [[/fseek command - mIRC|/fseek]], [[/fsend command - mIRC|/fsend]], [[/fserve command - mIRC|/fserve]], [[/fullname command - mIRC|/fullname]], [[/fwrite command - mIRC|/fwrite]]
 
</td>
 
 
 
<td style="vertical-align: top;">
 
<span style="display: block; font-weight: bold;">G</span>
 
[[/ghide command - mIRC|/ghide]], [[/gload command - mIRC|/gload]], [[/gmove command - mIRC|/gmove]], [[/gopts command - mIRC|/gopts]], [[/goto command - mIRC|/goto]], [[/gplay command - mIRC|/gplay]], [[/gpoint command - mIRC|/gpoint]], [[/gqreq command - mIRC|/gqreq]], [[/groups command - mIRC|/groups]], [[/gshow command - mIRC|/gshow]], [[/gsize command - mIRC|/gsize]], [[/gstop command - mIRC|/gstop]], [[/gtalk command - mIRC|/gtalk]], [[/gunload command - mIRC|/gunload]], [[/guser command - mIRC|/guser]]
 
 
 
<span style="display: block; font-weight: bold;">H</span>
 
[[/hadd command - mIRC|/hadd]], [[/halt command - mIRC|/halt]], [[/haltdef command - mIRC|/haltdef]], [[/hdec command - mIRC|/hdec]], [[/hdel command - mIRC|/hdel]], [[/help command - mIRC|/help]], [[/hfree command - mIRC|/hfree]], [[/hinc command - mIRC|/hinc]], [[/hload command - mIRC|/hload]], [[/hmake command - mIRC|/hmake]], [[/hotlink command - mIRC|/hotlink]], [[/hop command - mIRC|/hop]], [[/hsave command - mIRC|/hsave]]
 
 
 
<span style="display: block; font-weight: bold;">I</span>
 
[[/ial command - mIRC|/ial]], [[/ialclear command - mIRC|/ialclear]], [[/ialmark command - mIRC|/ialmark]], [[/identd command - mIRC|/identd]], [[/if command - mIRC|/if]], [[/ignore command - mIRC|/ignore]], [[/iline command - mIRC|/iline]], [[/inc command - mIRC|/inc]], [[/iuser command - mIRC|/iuser]]
 
</td>
 
 
 
<td style="vertical-align: top;">
 
<span style="display: block; font-weight: bold;">L</span>
 
[[/leave command - mIRC|/leave]], [[/linesep command - mIRC|/linesep]], [[/links command - mIRC|/links]], [[/list command - mIRC|/list]], [[/load command - mIRC|/load]], [[/loadbuf command - mIRC|/loadbuf]], [[/localinfo command - mIRC|/localinfo]], [[/log command - mIRC|/log]], [[/logview command - mIRC|/logview]]
 
 
 
<span style="display: block; font-weight: bold;">M</span>
 
[[/maxdepth command - mIRC|/maxdepth]], [[/mdi command - mIRC|/mdi]], [[/me command - mIRC|/me]], [[/menubar command - mIRC|/menubar]], [[/mkdir command - mIRC|/mkdir]], [[/mnick command - mIRC|/mnick]], [[/mode command - mIRC|/mode]], [[/msg command - mIRC|/msg]]
 
 
 
<span style="display: block; font-weight: bold;">N</span>
 
[[/noop command - mIRC|/noop]], [[/notify command - mIRC|/notify]]
 
</td>
 
</tr>
 
 
 
<tr>
 
<td style="vertical-align: top;"><span style="display: block; font-weight: bold;">O</span>
 
[[/onotice command - mIRC|/onotice]], [[/omsg command - mIRC|/omsg]]
 
 
 
<span style="display: block; font-weight: bold;">P</span>
 
[[/part command - mIRC|/part]], [[/partall command - mIRC|/partall]], [[/pdcc command - mIRC|/pdcc]], [[/perform command - mIRC|/perform]], [[/play command - mIRC|/play]], [[/playctrl command - mIRC|/playctrl]], [[/pop command - mIRC|/pop]], [[/protect command - mIRC|/protect]], [[/proxy command - mIRC|/proxy]], [[/pvoice command - mIRC|/pvoice]]
 
 
 
<span style="display: block; font-weight: bold;">Q</span>
 
[[/qme command - mIRC|/qme]], [[/qmsg command - mIRC|/qmsg]], [[/query command - mIRC|/query]], [[/queryrn command - mIRC|/queryrn]], [[/quit command - mIRC|/quit]], [[/quote command - mIRC|/quote]]
 
</td>
 
 
 
<td style="vertical-align: top;"><span style="display: block; font-weight: bold;">R</span>
 
[[/raw command - mIRC|/raw]], [[/registration command - mIRC|/registration]], [[/reload command - mIRC|/reload]], [[/remini command - mIRC|/remini]], [[/remote command - mIRC|/remote]], [[/remove command - mIRC|/remove]], [[/rename command - mIRC|/rename]], [[/renwin command - mIRC|/renwin]], [[/reseterror command - mIRC|/reseterror]], [[/resetidle command - mIRC|/resetidle]], [[/return command - mIRC|/return]], [[/returnex command - mIRC|/returnex]], [[/rlevel command - mIRC|/rlevel]], [[/rline command - mIRC|/rline]], [[/rmdir command - mIRC|/rmdir]], [[/run command - mIRC|/run]], [[/ruser command - mIRC|/ruser]]
 
 
 
<span style="display: block; font-weight: bold;">S</span>
 
[[/save command - mIRC|/save]], [[/savebuf command - mIRC|/savebuf]], [[/saveini command - mIRC|/saveini]], [[/say command - mIRC|/say]], [[/scid command - mIRC|/scid]], [[/scon command - mIRC|/scon]], [[/server command - mIRC|/server]], [[/set command - mIRC|/set]], [[/setlayer command - mIRC|/setlayer]], [[/showmirc command - mIRC|/showmirc]], [[/signal command - mIRC|/signal]], [[/sline command - mIRC|/sline]], [[/sockaccept command - mIRC|/sockaccept]], [[/sockclose command - mIRC|/sockclose]], [[/socklist command - mIRC|/socklist]], [[/socklisten command - mIRC|/socklisten]], [[/sockmark command - mIRC|/sockmark]], [[/sockopen command - mIRC|/sockopen]], [[/sockpause command - mIRC|/sockpause]], [[/sockread command - mIRC|/sockread]], [[/sockrename command - mIRC|/sockrename]], [[/sockudp command - mIRC|/sockudp]], [[/sockwrite command - mIRC|/sockwrite]], [[/sound command - mIRC|/sound]], [[/speak command - mIRC|/speak]], [[/splay command - mIRC|/splay]], [[/sreq command - mIRC|/sreq]], [[/strip command - mIRC|/strip]], [[/switchbar command - mIRC|/switchbar]]
 
 
 
<span style="display: block; font-weight: bold;">T</span>
 
[[/timer command - mIRC|/timer]], [[/timestamp command - mIRC|/timestamp]], [[/tip command - mIRC|/tip]], [[/tips command - mIRC|/tips]], [[/titlebar command - mIRC|/titlebar]], [[/tnick command - mIRC|/tnick]], [[/tokenize command - mIRC|/tokenize]], [[/toolbar command - mIRC|/toolbar]], [[/tray command - mIRC|/tray]], [[/treebar command - mIRC|/treebar]]
 
</td>
 
 
 
<td style="vertical-align: top;"><span style="display: block; font-weight: bold;">U</span>
 
[[/ulist command - mIRC|/ulist]], [[/unload command - mIRC|/unload]], [[/unset command - mIRC|/unset]], [[/unsetall command - mIRC|/unsetall]], [[/updatenl command - mIRC|/updatenl]], [[/url command - mIRC|/url]], [[/username command - mIRC|/username]], [[/uwho command - mIRC|/uwho]]
 
  
<span style="display: block; font-weight: bold;">V</span>
 
[[/var command - mIRC|/var]], [[/vcadd command - mIRC|/vcadd]], [[/vcmd command - mIRC|/vcmd]], [[/vcrem command - mIRC|/vcrem]], [[/vol command - mIRC|/vol]]
 
  
<span style="display: block; font-weight: bold;">W</span>
+
{{mIRC command list}}
[[/wavplay command - mIRC|/wavplay]], [[/while command - mIRC|/while]], [[/window command - mIRC|/window]], [[/winhelp command - mIRC|/winhelp]], [[/write command - mIRC|/write]], [[/writeini command - mIRC|/writeini]]
 
  
<td style="vertical-align: top;"><span style="display: block; font-weight: bold;">X</span>
+
[[Category:mIRC commands|action command - mIRC]]
[[/xyzzy command - mIRC|/xyzzy]]
 
</td>
 
</tr>
 
</table>
 
</div>
 
<!-- END -->
 
</div>
 
</div>
 
</div>
 

Latest revision as of 08:47, 9 July 2017

The /action command is now deprecated in favour of the identical /me command and is used to send an action message to the active window. Since it does not take a target parameter, that command is the kind of command that is mostly used manually, it cannot be used within events that are triggered by anything other than the user directly from a given channel. For example: it can be used within the on input or hotlink events but not within the on text. To be able to generate an action message from any event to any window, consider using the /describe command instead.

An action message is simply a regular PRIVMSG that follows a client-dependent format - usually different to that of a normal message. The raw format for an action message is:

//raw PRIVMSG $active $+(:, $chr(1), ACTION) [message] $+ $chr(1)

Where [message] is the actual message to be displayed.

Synopsis[edit]

/action <message>

Switches[edit]

None

Parameters[edit]

  • <message> - The message to be sent to the channel.

Example[edit]

;Send an action message to the active window
/action brings the cookie jar

Compatibility[edit]

Added: mIRC v2.1a
Added on: 28 Feb 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


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