/msg
Indice
The /msg command sends a message to a specific channel or person. Many networks support multi-target messages - mIRC will not display the message in all the targets like it would with individual messages.
| Contents - 1 Synopsis - 2 Switches - 3 Parameters - 4 Example - 4.1 Example 1 - 4.2 Example 2 - 4.3 Example 3 - 5 Compatibility - 6 See also |
Synopsis
/msg <nickname/channel> <message>
Switches
None
Parameters
- <nickname/channel> - The target channel or person for the message, use the form ”=
” to reference a dcc window, =$nick is accepted. - The message to be sent
Example
Example 1
on *:text:!moo:#:{
; Message the channel moos back
msg $chan moos back
}
Example 2
/* Example 2
*/
on ^*:open:?:{
if ($away) {
msg $nick I am currently away ( $+ $awaymsg $+ ), please leave me a memo: /ms send $me <memo>
}
halt
}
Example 3
Using the equals sign to send SomeUser a message via DCC/FSERVE Chat
//msg =SomeUser Hey there, this is going to your open DCC/FSERVE Chat window, instead!
Compatibility
Added: mIRC v2.1a
Added on: 02/28/1995
Note: Individual switches were not taken into consideration.
See also
mIRC commands list