Line 51: | Line 51: | ||
<div class="mw-collapsible-content"> | <div class="mw-collapsible-content"> | ||
<!-- Commands --> | <!-- Commands --> | ||
− | <div style="background-color: rgba( | + | <div style="background-color: rgba(255,255,255,.36); padding: 7px;"> |
<table cellspacing="0" cellpadding="7px;" style="display: block;"> | <table cellspacing="0" cellpadding="7px;" style="display: block;"> | ||
− | <tr | + | <tr> |
<td style="padding-right: 10px; vertical-align: top;"> | <td style="padding-right: 10px; vertical-align: top;"> | ||
<span style="display: block; font-weight: bold;">A</span> | <span style="display: block; font-weight: bold;">A</span> | ||
Line 100: | Line 100: | ||
</tr> | </tr> | ||
− | <tr | + | <tr> |
<td style="vertical-align: top;"><span style="display: block; font-weight: bold;">O</span> | <td style="vertical-align: top;"><span style="display: block; font-weight: bold;">O</span> | ||
[[/onotice command - mIRC|/onotice]], [[/omsg command - mIRC|/omsg]] | [[/onotice command - mIRC|/onotice]], [[/omsg command - mIRC|/omsg]] |
Revision as of 17:51, 26 June 2014
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.
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
/action <message>
Switches
Parameters
- <message> - The message to be sent to the channel.
Example
;Send an action message to the active window /action brings the cookie jar
Compatibility
Added: mIRC v2.1a
Added On: 28/02/1995
Note: Individual switches were not taken into consideration.
See also
mIRC Commands Reference List: