Eggdev: [Bug 384] New: Problem with CHAT and BCST binds..

bugzilla-daemon at bugzilla-daemon at
Thu Feb 5 03:32:54 CST 2004

           Summary: Problem with CHAT and BCST binds..
           Product: Eggdrop
           Version: 1.6.16
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: core
        AssignedTo: eggdev at
        ReportedBy: EggDev at FireEgl.CJB.Net

Alright, I've created BCST and CHAT binds on one bot, and all they do is
send a putlog..

.tcl bind chat - * test:chat ; proc test:chat {remote chan text} { putlog
"CHAT: $remote $chan $text" }
.tcl bind bcst - * test:bcst ; proc test:bcst {remote chan text} { putlog
"BCST: $remote $chan $text" }

And I used the [dccputchan] command on another bot..
.tcl dccputchan 0 "Testing"
Guess which bind it triggered?  No, not the CHAT bind. It triggered the BCST

Now, doing a:
.tcl dccbroadcast "Testing"
You would think is supposed to trigger BCST binds..but no, it doesn't
trigger any bind at all.

So, to summarize..
dccputchan should trigger CHAT binds (not BCST ones).
And dccbroadcast should trigger BCST binds.

I'd also like to note, that broadcasts do not contain a channel# element.

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Eggdev mailing list