Privmsg

From Scriptwiki
Revision as of 19:42, 4 September 2005 by Zyberdog (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The command mIRC use when you are chatting in channels and queries.

privmsg <target> :<message>
  • <target> is where you want the message to end up. Can be multiple targets if you seperate them with a , (comma).
  • <message> needs to be prefixed with a : (semicolon), otherwise the IRC server will only take the first word after target.


Examples

The example below will send "Hi guys!" to the channel #help.script.

/privmsg #help.script :Hi guys!

The next will send "How are you?" to both Dana and #help.script.

/privmsg Dana,#help.script :How are you?

See also

/msg is the most common command to use when sending messages in scripts.