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

	<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-06-22T15:22:59-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-06-22T15:22:59-04:00</updated>

		<published>2004-06-22T15:22:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37708#p37708</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37708#p37708"/>
		<title type="html"><![CDATA[Splitting a text file into lines]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37708#p37708"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set f [open "the_file.txt" r] while {[gets $f l]&gt;-1} {  putserv "PRIVMSG $nick :$l"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Tue Jun 22, 2004 3:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Real]]></name></author>
		<updated>2004-06-22T12:35:02-04:00</updated>

		<published>2004-06-22T12:35:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=37701#p37701</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=37701#p37701"/>
		<title type="html"><![CDATA[Splitting a text file into lines]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=37701#p37701"><![CDATA[
Hello.<br><div class="codebox"><p>Code: </p><pre><code>proc proc_join {nick uhost hand chan} { global myhostmask pmfile  if {$uhost == $myhostmask} {     set pmfileread [open $pmfile r]     set pmdata [read -nonewline $pmfileread]     close $pmfileread     putserv "PRIVMSG $nick :$pmdata"    } }</code></pre></div>This is my code.<br><br>If for example in the text is:<div class="codebox"><p>Code: </p><pre><code>This is sentence 1This is sentence 2This is sentence 3</code></pre></div>How can I make it so that the eggdrop pm's me saying each sentence in a new line? I tried using split, but it splits up the data as seperate words, and I need full sentences<br><br><br>Big thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4669">Real</a> — Tue Jun 22, 2004 12:35 pm</p><hr />
]]></content>
	</entry>
	</feed>
