<?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/12824" />

	<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>2006-12-12T16:22:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-12T16:22:35-04:00</updated>

		<published>2006-12-12T16:22:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68927#p68927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68927#p68927"/>
		<title type="html"><![CDATA[Bot will log only one Channel - why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68927#p68927"><![CDATA[
It would be a pubm-binding, and the command called when it triggers would return 1 upon completion for channel2, but not for channel1.<br><br>Also, keep in mind, that if a proc completes without a return-command, the return-code would be the result of the last issued command within the proc:<div class="codebox"><p>Code: </p><pre><code>proc blah {txt} { if {![validchan $txt]} {  channel add $txt  return 1 }}</code></pre></div>This proc would always return 1; if $txt is not a valid chan, the explicit "return 1" would be executed, ending the proc. On the other hand, if $txt would be a valid chan, validchan would be the last executed command, and the return-value of it (would be 1) is then used, as there is no speciffic return-command in this case.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 12, 2006 4:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefane]]></name></author>
		<updated>2006-12-12T15:43:42-04:00</updated>

		<published>2006-12-12T15:43:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68925#p68925</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68925#p68925"/>
		<title type="html"><![CDATA[Bot will log only one Channel - why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68925#p68925"><![CDATA[
Sure, that a wrong bind ist the reason?<br><br>I dont think so because the binds are for both channels the same.<br>And on one of the both channels the logs are perfekt.<br><br>but if you think so, please tell me how I can find out, which bind it could be.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8456">Stefane</a> — Tue Dec 12, 2006 3:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-12T14:25:52-04:00</updated>

		<published>2006-12-12T14:25:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68916#p68916</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68916#p68916"/>
		<title type="html"><![CDATA[Bot will log only one Channel - why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68916#p68916"><![CDATA[
There is a known "issue" with pubm-bindings in eggdrop1.6.18; If the command invoked returns 1 (TCL_OK), eggdrop will not log the message that triggered the binding.<br>I would suspect this to be the reason why your bot does not log public chat, that is, there seems to be a script running on your system with a pubm-binding that blocks public chat from being logged on that channel.<br><br>Solution would be to identify which script is blocking logging, and modify it in such ways that it won't block logging as stated above.<br><br>If you provide a list of loaded scripts, we might be able to assist in finding which script(s) are to blame for this.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Tue Dec 12, 2006 2:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefane]]></name></author>
		<updated>2006-12-12T13:41:44-04:00</updated>

		<published>2006-12-12T13:41:44-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68914#p68914</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68914#p68914"/>
		<title type="html"><![CDATA[Bot will log only one Channel - why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68914#p68914"><![CDATA[
okay. so I know that this is not the reason of the logging fault.<br><br>How can I solve the logging problem?<br><br>I looked into the log-file from chan2...there are only logged:<br>Nickchanges<br>mode settings<br>joins<br>lefts<br>actions<br><br>although I set <br>logfile kjp #chan2 "chan2.eggdrop.log" in the eggdrop.conf.<br><br>That's quite confusing?<br><br>Does anybody know a solution?<br><br>Thx for any help.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8456">Stefane</a> — Tue Dec 12, 2006 1:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-11T17:02:29-04:00</updated>

		<published>2006-12-11T17:02:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68881#p68881</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68881#p68881"/>
		<title type="html"><![CDATA[Bot will log only one Channel - why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68881#p68881"><![CDATA[
I think you're confusing logging with what is written on your partyline. These two are unrelated in such fashion that things that are to be logged, will be logged independent on any single partyline-sessions console settings, just as anything you choose to be shown on your partyline will be shown, no matter wether it's logged to any file or not.<br><br>Check out .help console from the dcc partyline for more info on how to set what should be displayed on your partyline. Should you wish to monitor all channels rather than a single one, use * as channelname with this command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Dec 11, 2006 5:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Stefane]]></name></author>
		<updated>2006-12-11T16:07:38-04:00</updated>

		<published>2006-12-11T16:07:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68875#p68875</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68875#p68875"/>
		<title type="html"><![CDATA[Bot will log only one Channel - why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68875#p68875"><![CDATA[
My eggdrop runs on two Channels.<br>And I set the bot to log Channelstats with the following in the config-file:<br>logfile kjp #chan1 "chan1.eggdrop.log"<br>logfile kjp #chan2 "chan2.eggdrop.log"<br>set max-logs 5<br>set log-time 1<br>set keep-all-logs 0<br>set switch-logfiles-at 300<br><br><br>The Logging from Chan1 ist perfect...as i wished...<br>but the snd Chan won't be logged.<br><br>Chan1 is set:<br>..[ 20.55.27 ]..[ &lt;Eknim&gt;      -inactive       +statuslog      -secret         +shared<br>..[ 20.55.27 ]..[ &lt;Eknim&gt;      +greet          -seen           +cycle          +dontkickops<br>..[ 20.55.27 ]..[ &lt;Eknim&gt;      +protectops     -protectfriends -revenge        -revengebot<br>..[ 20.55.27 ]..[ &lt;Eknim&gt;      -bitch          -autoop         -autovoice      -nodesynch<br>..[ 20.55.27 ]..[ &lt;Eknim&gt;      +enforcebans    +dynamicbans    +userbans       -autohalfop<br>..[ 20.55.27 ]..[ &lt;Eknim&gt;      -protecthalfops<br>..[ 20.55.27 ]..[ &lt;Eknim&gt;      +dynamicexempts +userexempts    +dynamicinvites +userinvites<br><br>Chan2 ist set:<br>..[ 20.31.14 ]..[ &lt;Eknim&gt;      -inactive       +statuslog      -secret         +shared<br>..[ 20.31.14 ]..[ &lt;Eknim&gt;      +greet          -seen           +cycle          +dontkickops<br>..[ 20.31.14 ]..[ &lt;Eknim&gt;      +protectops     -protectfriends -revenge        -revengebot<br>..[ 20.31.14 ]..[ &lt;Eknim&gt;      -bitch          -autoop         -autovoice      -nodesynch<br>..[ 20.31.14 ]..[ &lt;Eknim&gt;      +enforcebans    +dynamicbans    +userbans       -autohalfop<br>..[ 20.31.14 ]..[ &lt;Eknim&gt;      -protecthalfops<br>..[ 20.31.14 ]..[ &lt;Eknim&gt;      +dynamicexempts +userexempts    +dynamicinvites +userinvites<br><br><br>When I look into the Partyline the following will be repeated by the eggdrop:<br>..[ 21.00.10 ]..[ &lt;BOT&gt; [21:00] #chan1 (+trn) : [m/4 o/2 h/0 v/0 n/2 b/14 e/0 I/0]<br>But this isn't shown for the other Channel?<br>Could this be the reason? How can I solve this problem so that the bot logs the 2 Chans in their two separate files?<br><br>Thx for support in advance.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8456">Stefane</a> — Mon Dec 11, 2006 4:07 pm</p><hr />
]]></content>
	</entry>
	</feed>
