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

	<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>2007-09-03T12:52:01-04:00</updated>

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

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-09-03T12:52:01-04:00</updated>

		<published>2007-09-03T12:52:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75657#p75657</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75657#p75657"/>
		<title type="html"><![CDATA[strange putserv question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75657#p75657"><![CDATA[
Remove the \n from the sourcefile?<br>You could also use something like this if you really need the newlines within the variable contents:<div class="codebox"><p>Code: </p><pre><code>puthelp "PRIVMSG $chan :O: [string trim $today_high "\n"] L: [string trim $today_low "\n"]....."</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Sep 03, 2007 12:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2007-09-03T12:47:51-04:00</updated>

		<published>2007-09-03T12:47:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75656#p75656</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75656#p75656"/>
		<title type="html"><![CDATA[strange putserv question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75656#p75656"><![CDATA[
ahh, there are \n in the source file so that could be the reason. How can I get rid of these \n?<br><br>(info: really backslash and n in the code, not meant as physical newlines)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Mon Sep 03, 2007 12:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-09-03T12:20:18-04:00</updated>

		<published>2007-09-03T12:20:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75654#p75654</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75654#p75654"/>
		<title type="html"><![CDATA[strange putserv question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75654#p75654"><![CDATA[
Have you double-checked that there is no newlines at the end of any of those variables?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Mon Sep 03, 2007 12:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jagg]]></name></author>
		<updated>2007-09-03T11:21:06-04:00</updated>

		<published>2007-09-03T11:21:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75653#p75653</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75653#p75653"/>
		<title type="html"><![CDATA[strange putserv question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75653#p75653"><![CDATA[
Hi,<br><br>I have five variables I want to output in one line (each variable consists of one number). But when I do  <div class="codebox"><p>Code: </p><pre><code> putserv "PRIVMSG $chan :O: $today_open H: $today_high L: $today_low C: $today_close Change: $today_change"</code></pre></div>I get this output in the irc-chan:<blockquote class="uncited"><div>&lt;MyEggdrop&gt;O: 1461.50</div></blockquote>That's all <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"> <br><br>When I do <div class="codebox"><p>Code: </p><pre><code>  putserv "PRIVMSG $chan :Open: $today_open"  putserv "PRIVMSG $chan :High: $today_high"  putserv "PRIVMSG $chan :Low: $today_low"  putserv "PRIVMSG $chan :Close: $today_close"  putserv "PRIVMSG $chan :Change: $today_change" </code></pre></div>I get each variable/number correct in the irc chan (but every number in a new line and I want it in one line).<br><br>Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4460">Jagg</a> — Mon Sep 03, 2007 11:21 am</p><hr />
]]></content>
	</entry>
	</feed>
