<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/18638" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2011-09-13T14:18:21-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/18638</id>

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2011-09-13T14:18:21-04:00</updated>

		<published>2011-09-13T14:18:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97726#p97726</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97726#p97726"/>
		<title type="html"><![CDATA[Bot not logging itself on the Channel log; how to change?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97726#p97726"><![CDATA[
The reason your eggdrop does not log text sent to a channel, is because it does not see the text itself (irc servers do not send your text back to you). The only way to facilitate such logging, would be to scan the server-queues for any PRIVMSG commands. This could be done using the "out" binding available in eggdrop 1.6.20, though this might have some performance impact.<br><br>As for commands received on the channel (pub bindings to be more precise), the sent command will be logged as a command IF the called proc has a return-value of 1. If the return-value is 0, no logging will be done.<br><br>You could also do logging on your own using the <strong class="text-strong">putloglev</strong> command:<div class="codebox"><p>Code: </p><pre><code>proc slots {nick host handle chan text} {....  putloglev p $chan "SLOTS! -- $nick: \[WIN\] \[WIN\] \[WIN\]"  puthelp "PRIVMSG $chan :SLOTS! -- $nick: \[WIN\] \[WIN\] \[WIN\]"...  return 1}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Sep 13, 2011 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sarteck]]></name></author>
		<updated>2011-09-13T14:00:12-04:00</updated>

		<published>2011-09-13T14:00:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=97725#p97725</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=97725#p97725"/>
		<title type="html"><![CDATA[Bot not logging itself on the Channel log; how to change?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=97725#p97725"><![CDATA[
My bot is set up to log "jkp" (joins/etc., kicks/etc., and public text in the channel) for the channel, but it does not seem to log itself, nor does it log commands for it posted to that channel.<br><br>I imagine I could change the latter simply by changing "jkp" to "cjkp", but I'm not sure how to go about getting it to log it's own public text to the channel.  (I don't really see why it doesn't automatically, since it is public text.)<br><br>Example ("Boogy" is the bot):<br><br><br>[11:30:51] &lt;~Sarteck&gt; !slots<br>[11:30:52] &lt;&amp;Boogy&gt; SLOTS! -- Sarteck: [WIN] [WIN] [WIN]<br>[11:30:52] &lt;&amp;Boogy&gt; Sarteck (Sarteck) WON 10 HAN!<br><br>Normally, none of these lines are logged; "!slots" is a command to the bot (which I would imagine would be logged just by adding "c" to the logflags), but I'm not quite sure what would allow Boogy to log its own public text.<br><br>Could someone shed some light on the subject for me?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9782">Sarteck</a> — Tue Sep 13, 2011 2:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
