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

	<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-02-05T14:36:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2008-02-05T14:36:22-04:00</updated>

		<published>2008-02-05T14:36:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80656#p80656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80656#p80656"/>
		<title type="html"><![CDATA[hi, a snippet is needed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80656#p80656"><![CDATA[
Check out user's code in <a href="http://forum.egghelp.org/viewtopic.php?t=5698" class="postlink">this</a> thread.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Feb 05, 2008 2:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Maiki]]></name></author>
		<updated>2008-02-05T11:03:28-04:00</updated>

		<published>2008-02-05T11:03:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80653#p80653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80653#p80653"/>
		<title type="html"><![CDATA[hi, a snippet is needed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80653#p80653"><![CDATA[
Fixed.. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9009">Maiki</a> — Tue Feb 05, 2008 11:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Meropie]]></name></author>
		<updated>2008-02-05T10:57:28-04:00</updated>

		<published>2008-02-05T10:57:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80652#p80652</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80652#p80652"/>
		<title type="html"><![CDATA[hi, a snippet is needed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80652#p80652"><![CDATA[
yo, thanks for the help, but error accurs:<br> [16:57] Tcl error [delLine]: can not find channel named "Meropie"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9562">Meropie</a> — Tue Feb 05, 2008 10:57 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Maiki]]></name></author>
		<updated>2008-02-05T10:51:08-04:00</updated>

		<published>2008-02-05T10:51:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80651#p80651</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80651#p80651"/>
		<title type="html"><![CDATA[hi, a snippet is needed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80651#p80651"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>bind pub - !delete delLineproc delLine {nick uhost hand chan arg} {set file [open /usr/dir r]        set data [read -nonewline $file]close $file        if {[set pos [lsearch -glob [set ldata [split $data \n]] $arg]] != -1} {            set data [open /usr/dir w]            puts $data [join [lreplace $ldata $pos $pos] \n]            close $data            putserv "PRIVMSG $chan :Deleted $arg"        } else {            close $data            putserv "PRIVMSG $chan :Can not find $arg in the file"        }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9009">Maiki</a> — Tue Feb 05, 2008 10:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Meropie]]></name></author>
		<updated>2008-02-05T10:44:28-04:00</updated>

		<published>2008-02-05T10:44:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=80650#p80650</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=80650#p80650"/>
		<title type="html"><![CDATA[hi, a snippet is needed.]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=80650#p80650"><![CDATA[
hello, im searching for a snippet to delete a line from a file.<br><br>my file looks like:<br>bla<br>bla2<br>bla4<br>meropie<br>egghelp<br><br>and such..<br><br>i want to delete a line, but i am searching the whole line, so it will be much easier (i think).<br>example:<br>i want  to delete meropie, i will search for meropie and delete it so the file will look like: <br>bla<br>bla2<br>bla4<br>egghelp<br>.<br><br>thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9562">Meropie</a> — Tue Feb 05, 2008 10:44 am</p><hr />
]]></content>
	</entry>
	</feed>
