Difference between revisions of "Privmsg"

From Scriptwiki
Jump to: navigation, search
 
(added relatedraws template)
Line 19: Line 19:
 
== See also ==
 
== See also ==
  
[[Msg|/msg]] is the most common command to use when sending messages in scripts.
+
[[Msg|/msg]] is the most common command to use when sending messages in scripts.<br />
 +
{{Relatedraws|privmsg}}
  
 
[[Category:Basic IRC commands]]
 
[[Category:Basic IRC commands]]

Revision as of 14:05, 5 September 2005

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.
Raws related to /privmsg