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

	<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>2017-10-21T17:43:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[l.kleijn]]></name></author>
		<updated>2017-10-21T17:43:38-04:00</updated>

		<published>2017-10-21T17:43:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106482#p106482</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106482#p106482"/>
		<title type="html"><![CDATA[remove line in txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106482#p106482"><![CDATA[
<blockquote class="uncited"><div>If you know some TCL, then the info found here might help:<br><a href="http://forum.egghelp.org/viewtopic.php?t=6885" class="postlink">http://forum.egghelp.org/viewtopic.php?t=6885</a><br>and scroll down to : 3. Deleting a line from a text file.<br><br>If you don't know enough TCL for that to get you started, then it would help<br>if you posted an example of the file that you want to edit.</div></blockquote>It worked. Thanks.<br><br>I have another question.<br><div class="codebox"><p>Code: </p><pre><code>bind pub - ${trigger}pay pub:payproc pub:pay {nick host hand chan arg} {  global botnick fname pricetopic  set product [lindex $arg 0]    set topic [lindex $arg 1 end]  if {$product == "topic"} {     set searchstring $arg        set fp [open $fname "r"]     set data [read -nonewline $fp]     close $fp     if {$pricetopic &gt; 10} {        putserv "NOTICE $nick :U hebt te weinig geld."        return 0     }  } else { putserv "TOPIC $chan :$topic" }}</code></pre></div>i would like to have a script that reads that 10 from or higher.<br>and that it after it's 10 or more change the topic<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12392">l.kleijn</a> — Sat Oct 21, 2017 5:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2017-10-21T11:42:29-04:00</updated>

		<published>2017-10-21T11:42:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106481#p106481</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106481#p106481"/>
		<title type="html"><![CDATA[Re: remove line in txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106481#p106481"><![CDATA[
<blockquote class="uncited"><div>Hello,<br><br>Is it possible to remove 1 line in a txt file ?<br>...</div></blockquote>If you know some TCL, then the info found here might help:<br><a href="http://forum.egghelp.org/viewtopic.php?t=6885" class="postlink">http://forum.egghelp.org/viewtopic.php?t=6885</a><br>and scroll down to :  3. Deleting a line from a text file.<br><br>If you don't know enough TCL for that to get you started, then it would help<br>if you posted an example of the file that you want to edit.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Oct 21, 2017 11:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[l.kleijn]]></name></author>
		<updated>2017-10-21T09:45:08-04:00</updated>

		<published>2017-10-21T09:45:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106480#p106480</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106480#p106480"/>
		<title type="html"><![CDATA[remove line in txt]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106480#p106480"><![CDATA[
Hello,<br><br>Is it possible to remove 1 line in a txt file ?<br><br>With the name Fujin, or something like that.<br><br>Can you show me how ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12392">l.kleijn</a> — Sat Oct 21, 2017 9:45 am</p><hr />
]]></content>
	</entry>
	</feed>
