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

	<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-04-09T02:30:33-04:00</updated>

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

		<entry>
		<author><name><![CDATA[vigilant]]></name></author>
		<updated>2008-04-09T02:30:33-04:00</updated>

		<published>2008-04-09T02:30:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82233#p82233</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82233#p82233"/>
		<title type="html"><![CDATA[To keep in memory]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82233#p82233"><![CDATA[
Use the file open and close TCL commands<br>It will be easy for you to do it that way, just save each message to the file and then open it again and you know that way..<br>There is a nice tutorial on that.<br>Just search for "file" or look in the tutorial forum.<br><br>Hope that helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7195">vigilant</a> — Wed Apr 09, 2008 2:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[loulou7593]]></name></author>
		<updated>2008-04-08T13:11:51-04:00</updated>

		<published>2008-04-08T13:11:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82229#p82229</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82229#p82229"/>
		<title type="html"><![CDATA[To keep in memory]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82229#p82229"><![CDATA[
hello I have a problem with a code, <br>This code is supposed when I type <br>! order MSG on my living room, Ca puts a new greeting message and when a person joined the living room Ca him sending a note with the message which I had put.<br>But for each .rehash and well it is necessary all to start again. to you there is a means of safeguarding the messages which I return?<br>here the code.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - !welcome pub:welcome proc pub:welcome {nick uhost hand channel text} { global onjoin_msg       if {[validuser $hand] &amp;&amp; ($text != "")} {          set onjoin_msg "$text"         putserv "NOTICE $nick :Nouveau message d'acceuil -&gt; $text"       } else {         putserv "NOTICE $nick :Erreur..."    } } </code></pre></div>And in more so that this code functions it is necessary I put another TCL with the following code.<br><div class="codebox"><p>Code: </p><pre><code>set onjoin_msg { {  "Welcome to Channel \$chan \$nick" }}set onjoin_chans "#BG® #eg-lovech"bind join - * join_onjoinputlog "Onjoin.tcl 0.1 by Banned loaded"proc join_onjoin {nick uhost hand chan} { global onjoin_msg onjoin_chans botnick if {([lsearch -exact [string tolower $onjoin_chans] [string tolower $chan]] != -1) &amp;&amp; (![matchattr $hand b]) &amp;&amp; ($nick != $botnick)} { puthelp "NOTICE $nick :[subst $onjoin_msg]" } }</code></pre></div>Thank you to say to me if I can gather these two code in only one, and that Ca can safeguard the messages so that after each .rehash Ca does not erase all.<br><br>Thank you<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9849">loulou7593</a> — Tue Apr 08, 2008 1:11 pm</p><hr />
]]></content>
	</entry>
	</feed>
