Eggheads: script devel

Dave C. davec at
Fri Feb 20 22:30:31 CST 2004

bind pub - !some some
proc some {nick uhost handle Channel Args} {
puthelp "NOTICE $nick :hello or whatever"

$nick = Yournick
$uhost = yourident at yourhost.yourdomain
$handle = YourHandle  (or * if you don't have a handle on the bot)
$Args = Not sure if it includes the actual command or not, but this 
contains most or all of the channel message with the command

That will most likely work....

At 02:49 PM 2/20/2004, you wrote:
>On Fri, Feb 20, 2004 at 07:47:59PM -0000, hERB wrote:
> > Maybe:
> >
> > bind pub - !some some
> >
> > proc some {nick idx handle channel}{
> > putnotc $nick "Whatever"
> > }
>Nope. I tried the fancy version first (mesg the nick who sent the
>message), but then I just hardcoded my own nick.
>I did try the above... note that "}{" appears to be invalid tcl
>syntax. I see it in lots of eggdrop scripts and always have to fix it
>or the scripts won't load (or sometimes they do, and that's even more
>But after fixing that, I still get no message from the bot. Odd, no?
>Phil Dibowitz                             phil at
>Freeware and Technical Pages              Insanity Palace of Metallica
>"They that can give up essential liberty to obtain a little temporary
>safety deserve neither liberty nor safety."
>  - Benjamin Franklin, 1759

More information about the Eggheads mailing list