This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Bot fails to log its own lines

Old posts that have not been replied to for several years.
Locked
N
Nethershaw

Bot fails to log its own lines

Post by Nethershaw »

Eggdrop doesn't seem capable of logging the messages it puts to the channel on its own. In other words, it's ignoring itself. I'd really like to see this functionality here. Where can I put it in the suggestion box -- or when, if there are plans, can I expect to see something like this?

If my options in that respect are nil, then can anyone offer a workaround? I need my bot to be able to log the channel including itself, especially things it says when people logged into it use the ".say" and ".act" commands.
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

He can do this, but you need tcl script for this :mrgreen:
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

I think its This
N
Nethershaw

That's nice.

Post by Nethershaw »

That's a nice script. Unfortunately, it doesn't log the bot's own lines, either. For example, my bot's name is Senryu. The bot joins a channel, and I type ".say Lame." at the console. Here's what people in the channel see:

Code: Select all

<Some_Lamer> Look, there's a bot.
<Senryu> Lame.
<Some_Lamer> What?!
<Aunt_Jemima> I like waffles.
Something to that effect. In the log, Senryu's line would be missing. Why am I led to think that the problem which forces the bot to ignore itself is actually in the bot's code itself? I just don't understand why this has to be, given the IRC protocol. Granted, I am not a programmer, and far be it from me to criticise the writers of Eggdrop, but shouldn't this be easy enough to do? Trap the PRIVMSGs and ACTIONs sent to a given channel. Everything is visible when you look at a raw log of a conenction between the client and server. Really... I'm missing something.

And I should clarify: I'm using mEL 1.5.5 to make logs (and would prefer to continue doing so), but this happens no matter what I use, including the bot's own logging faculties.
Locked