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

(Created page with "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...")
(No difference)

Revision as of 04:34, 6 December 2013

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

/msg <nickname/channel> <message>

Switches

None

Parameters

  • <nickname/channel> - The target channel or person for the message
  • <message> - The message to be sent

Example

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
}

Compatibility

Added: mIRC v2.1a

Added On: 28/02/1995

Note: Individual switches were not taken into consideration.

See also