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

	<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>2004-12-15T18:24:08-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-12-15T18:24:08-04:00</updated>

		<published>2004-12-15T18:24:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=44054#p44054</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=44054#p44054"/>
		<title type="html"><![CDATA[huh?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=44054#p44054"><![CDATA[
You failed to post the part of your code that takes care of saving.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Wed Dec 15, 2004 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2004-12-12T11:09:51-04:00</updated>

		<published>2004-12-12T11:09:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43901#p43901</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43901#p43901"/>
		<title type="html"><![CDATA[greet line not saving when bot dies or quits]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43901#p43901"><![CDATA[
post your scripts within code tags, check <a href="http://forum.egghelp.org/faq.php?mode=bbcode" class="postlink">BBCode</a> on how to do so<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 12, 2004 11:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CosmicD]]></name></author>
		<updated>2004-12-12T12:10:20-04:00</updated>

		<published>2004-12-12T10:02:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43898#p43898</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43898#p43898"/>
		<title type="html"><![CDATA[greet line not saving when bot dies or quits]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43898#p43898"><![CDATA[
Hello, <br><br>I've got a problem with a script that I am using. it allows the bot to greet and count the users that join a channel, but when the bot exists completely it seems to loose some settings:<br><br>the gcount setting will be off (where it was on for a certain channel) but the counting variable still remains intact, meaing that when you set it to on the bot doesn't start from zero<br><br>the greet line is vanished. <br><br>besides, all settings within this script are lost when bot quits <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>I hope that you can help me when I paste the pieces of code relevant to this: ?<br><br>hope you're not confused with the native language <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><div class="codebox"><p>Code: </p><pre><code>greet { if {[matchattr $handle &amp;m $channel] || [matchattr $handle o]} {          if {![checksec $nick $uhost $handle]} { return 0 }             if {![matchattr $handle +Q]} {          putserv "NOTICE $nick :Je bent niet ingelogd."            putserv "NOTICE $nick :Log in met: /msg $botnick login &lt;paswoord&gt;."            return 0}            set who [lrange $var 1 end]            if {$who == ""} {            putserv "NOTICE $nick :Gebruik greet &lt;bericht&gt; of 'OFF' om greet uit te zette$            if {![info exists topicinfo(greet$channel)]} {            putserv "NOTICE $nick :Huidige instelling: UIT" } else {            putserv "NOTICE $nick :Huidige instelling: $topicinfo(greet$channel)" }            return 0 }            if {[string tolower $who] == "off"} {             unset topicinfo(greet$channel)            putserv "NOTICE $nick :Greet is uitgeschakeld"            return 0 }            set topicinfo(greet$channel) $who            putserv "NOTICE $nick :Greet ingesteld op: $who"            return 0 }}</code></pre></div><div class="codebox"><p>Code: </p><pre><code>gcount { if {[matchattr $handle &amp;m $channel] || [matchattr $handle o]} {          if {![checksec $nick $uhost $handle]} { return 0 }             if {![matchattr $handle +Q]} {          putserv "NOTICE $nick :Je bent niet ingelogd."            putserv "NOTICE $nick :Log in met: /msg $botnick login &lt;paswoord&gt;."            return 0}            if {$who == ""} {             putserv "NOTICE $nick :Gebruik: gcount &lt;on|off&gt;"            return 0 }             switch $who {             off { set topicinfo(gcount$channel) "0"                   putserv "NOTICE $nick :Greet count uit."                   return 0 }              on { set topicinfo(gcount$channel) "1"                   putserv "NOTICE $nick :Greet count aan."                   return 0 }}}}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5772">CosmicD</a> — Sun Dec 12, 2004 10:02 am</p><hr />
]]></content>
	</entry>
	</feed>
