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

	<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>2008-03-10T02:08:11-04:00</updated>

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

		<entry>
		<author><name><![CDATA[arune]]></name></author>
		<updated>2008-03-10T02:07:12-04:00</updated>

		<published>2008-03-10T02:07:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81596#p81596</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81596#p81596"/>
		<title type="html"><![CDATA[Bind, messages from bot itself [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81596#p81596"><![CDATA[
Thanks for the help. <br>As a newbie I'll stick with a "fix", I'll make a second bot for logging, this will also save me some trouble with op in channels (loosing op when my connection is bad).<br><br>My hope before posting my previous post was that there were a simple bind that I've missed. Thanks again.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9480">arune</a> — Mon Mar 10, 2008 2:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[strikelight]]></name></author>
		<updated>2008-03-09T13:01:26-04:00</updated>

		<published>2008-03-09T13:01:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81562#p81562</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81562#p81562"/>
		<title type="html"><![CDATA[Bind, messages from bot itself [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81562#p81562"><![CDATA[
The bot does not trigger events from its own text/actions...<br>Instead, write wrapper functions for all the server queues...<br><br>eg.<div class="codebox"><p>Code: </p><pre><code># rename putserv commandrename putserv orig_putserv# create new putserv commandproc putserv {text {options ""}} {  # log the event, or do whatever it is you want done  putlog "$text"  # call the original putserv  orig_putserv $text $options}</code></pre></div>Just a rough example... You'll need to do similar for all the other server queue functions as well, such as puthelp, pushmode, etc..<br><br>If all you want is to log all outbound eggdrop events to a regular eggdrop logfile, see <a href="http://forum.egghelp.org/viewtopic.php?t=13270" class="postlink">this</a> thread.  There are probably scripts to convert eggdrop log files to mirc format.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2005">strikelight</a> — Sun Mar 09, 2008 1:01 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[arune]]></name></author>
		<updated>2008-03-10T02:08:11-04:00</updated>

		<published>2008-03-09T10:35:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=81559#p81559</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=81559#p81559"/>
		<title type="html"><![CDATA[Bind, messages from bot itself [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=81559#p81559"><![CDATA[
Hello, I'm new to eggdrop scripts and tcl in general.<br><br>I have the following eggdrop script <br><a href="http://pastebin.ca/933527" class="postlink">http://pastebin.ca/933527</a> (This pastebin will work for a couple of month)<br>It's a logger that outputs in mirc format. <br>Can't seem to find where I got the script from anymore.<br><br>Now the problem is that my bot posts messages from the "partyline" now and then (when anything changes in my wiki: <a href="http://www.arune.se/script:dokuwiki-commitpost-to-eggdrop" class="postlink">http://www.arune.se/script:dokuwiki-com ... to-eggdrop</a> and when somebody makes commits to subversion), the logging script does not seem to catch the messages from the bot itself.<br><br>The binds of the script at the bottom of this post.<br>Is the script missing something? Could a raw be used and then filter on messages from the bot somehow?<br><div class="codebox"><p>Code: </p><pre><code>### Eventsbind join - "#* *!*@*" logger:joinbind part - "#* *!*@*" logger:partbind sign - "#* *!*@*" logger:quitbind pubm - "#* *" logger:textbind nick - "#* *" logger:nickbind kick - "#* *" logger:kickbind mode - "#* *" logger:modebind topc - "#* *" logger:topicbind raw - "333" logger:topic-authorbind ctcp - "ACTION" logger:action</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9480">arune</a> — Sun Mar 09, 2008 10:35 am</p><hr />
]]></content>
	</entry>
	</feed>
