From WikiChip
/msg Command - mIRC
< mirc‎ | commands(Redirected from /msg command - mIRC)

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.

Synopsis[edit]

/msg <nickname/channel> <message>

Switches[edit]

  • -s - activate/show the window
  • -x - maximize the window
  • -n - minimize the window
  • -d - open new window as desktop

Parameters[edit]

  • <nickname/channel> - The target channel or person for the message, use the form "=<nickname>" to reference a dcc window, =$nick is accepted.
  • <message> - The message to be sent

Example[edit]

Example 1[edit]

on *:text:!moo:#:{
  ; Message the channel moos back
  msg $chan moos back
}

Example 2[edit]

/* 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[edit]

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[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]

[Expand]
v · d · e mIRC commands list