SUNiNET - Your Eggdrop & TCL resources site
[ Home Eggdrop TCL Links About ]

Guide to TCL scripting for Eggdrop 1.6

[ Previous ] [ Index ] [ Next ]

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".

[ Previous ] [ Index ] [ Next ]

Design & Graphics by Shawn Borton
Copyright © 2000-2005 Marijn van Zon