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

	<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-12-23T07:48:31-04:00</updated>

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

		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2008-12-23T07:48:31-04:00</updated>

		<published>2008-12-23T07:48:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86477#p86477</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86477#p86477"/>
		<title type="html"><![CDATA[Add lines, and check them on a txt file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86477#p86477"><![CDATA[
Hello<br><br>Can you please add one thing to the script ?<br><br>It's to remove a line<br><br><br>When<br><div class="codebox"><p>Code: </p><pre><code>&lt;user&gt; goobyeremove user from list&lt;botnick&gt; goodbye $nick</code></pre></div>Ty <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Tue Dec 23, 2008 7:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2008-12-21T08:55:05-04:00</updated>

		<published>2008-12-21T08:55:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86433#p86433</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86433#p86433"/>
		<title type="html"><![CDATA[Add lines, and check them on a txt file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86433#p86433"><![CDATA[
Ty <br><br>5* <br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Sun Dec 21, 2008 8:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2008-12-20T18:34:33-04:00</updated>

		<published>2008-12-20T18:34:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86421#p86421</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86421#p86421"/>
		<title type="html"><![CDATA[Add lines, and check them on a txt file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86421#p86421"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># Author: tomekk# e-mail:  tomekk/@/oswiecim/./eu/./org# home page: http://tomekk.oswiecim.eu.org/## Version 0.1## This file is Copyrighted under the GNU Public License.# http://www.gnu.org/copyleft/gpl.htm# file with namesset hello_file "hello.txt"##################################################if {![file exist $hello_file]} {set create_new [open $hello_file w]close $create_new}bind pub - hello hello_procproc check_nick { name } {global hello_fileset return_msg "not_exist"set db_handler [open $hello_file r]set all_names [read $db_handler]close $db_handlerif {$all_names != ""} {if {[lsearch [split $all_names "\n"] $name] != -1} {set return_msg "exist"}}return $return_msg}proc add_name { name } {global hello_fileset append_hand [open $hello_file a]puts $append_hand $nameclose $append_hand}proc hello_proc { nick uhost hand chan arg } {set name_status [check_nick $nick]if {$name_status == "exist"} {putquick "PRIVMSG $chan :hello again $nick"} {putquick "PRIVMSG $chan :hello"add_name $nick}}putlog "simple-hello.tcl ver 0.1 by tomekk loaded"</code></pre></div>try :&gt;<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Sat Dec 20, 2008 6:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[garfwen]]></name></author>
		<updated>2008-12-18T17:24:00-04:00</updated>

		<published>2008-12-18T17:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86342#p86342</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86342#p86342"/>
		<title type="html"><![CDATA[Add lines, and check them on a txt file]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86342#p86342"><![CDATA[
Hello<br><br>Im looking for a script that can make this:<br><div class="codebox"><p>Code: </p><pre><code>&lt;nick&gt; hello          check if "$nick is on the file" if not&lt;botnick&gt; hello     add line "hello $nick"&lt;nick&gt; hello          check if "$nick is on the file" if it is&lt;botnick&gt; Hello again $nick !</code></pre></div>Ty, <br>GaRfWeN  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9777">garfwen</a> — Thu Dec 18, 2008 5:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
