A.1 Messages and notices
This has already been used in scripts and you could've read
about it in Chapter 6.3, but I'll repeat
it one more time.
The IRC server command to send messages is PRIVMSG.
The syntax of a PRIVMSG command is PRIVMSG <nickname/channel> :<message>.
The <nickname/channel> is the nickname or channel you want to send the message to.
The <message> is the message you want to send.
Note that the ":" in front of the <message> is required.
You can send a notice in exactly the same way as sending a normal message except that you have to use
"NOTICE" instead of "PRIVMSG".
|