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

	<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>2005-03-18T18:02:05-04:00</updated>

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

		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-03-18T18:02:05-04:00</updated>

		<published>2005-03-18T18:02:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47892#p47892</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47892#p47892"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47892#p47892"><![CDATA[
Have a look <a href="http://forum.egghelp.org/viewtopic.php?t=6690#33031" class="postlink">here</a>.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Fri Mar 18, 2005 6:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EmOuBi]]></name></author>
		<updated>2005-03-18T17:52:39-04:00</updated>

		<published>2005-03-18T17:52:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47891#p47891</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47891#p47891"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47891#p47891"><![CDATA[
Nope. It's still truncated  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5697">EmOuBi</a> — Fri Mar 18, 2005 5:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-03-18T17:24:21-04:00</updated>

		<published>2005-03-18T17:24:21-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47889#p47889</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47889#p47889"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47889#p47889"><![CDATA[
Ahh thanks demond.<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !blonde pub_discproc pub_disc {nick mask hand channel args} {   global disc   set strBuffer ""   set strJoke "[lindex $disc [rand [llength $disc]]]"   append strBuffer "$strJoke\n"   puthelp "PRIVMSG $channel :$strBuffer"}set disc {"blaaaa blaaaaaaaaaa blaaaaaaa""abbsabsabsa ds dgdgdgdgd d ssddddddddgggg""saggggggggggsgasggsa sag gsa gdd gd dh hd"} </code></pre></div>Try this (Not tested).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Mar 18, 2005 5:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-03-18T17:12:31-04:00</updated>

		<published>2005-03-18T17:12:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47888#p47888</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47888#p47888"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47888#p47888"><![CDATA[
<blockquote class="uncited"><div>Try changing puthelp to putserv. The script looks fine and I cant see why its not working. Any other guys spot something I have missed?</div></blockquote>you missed the fact that any output to server (using putserv, puthelp or putqucik) is truncated on the first occurance of \n<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Fri Mar 18, 2005 5:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EmOuBi]]></name></author>
		<updated>2005-03-18T17:02:18-04:00</updated>

		<published>2005-03-18T17:02:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47887#p47887</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47887#p47887"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47887#p47887"><![CDATA[
The script is working, it just do not wraps the big jokes  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5697">EmOuBi</a> — Fri Mar 18, 2005 5:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-03-18T16:59:08-04:00</updated>

		<published>2005-03-18T16:59:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47886#p47886</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47886#p47886"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47886#p47886"><![CDATA[
Try changing puthelp to putserv. The script looks fine and I cant see why its not working. Any other guys spot something I have missed?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Mar 18, 2005 4:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EmOuBi]]></name></author>
		<updated>2005-03-18T16:49:11-04:00</updated>

		<published>2005-03-18T16:49:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47884#p47884</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47884#p47884"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47884#p47884"><![CDATA[
When I put \n it only break the line.<br>"This is a\n joke blabla" comes <br>&lt;botnick&gt; This is a<br><br>And that's all. The "joke blabla" is not shown<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5697">EmOuBi</a> — Fri Mar 18, 2005 4:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-03-18T16:39:45-04:00</updated>

		<published>2005-03-18T16:39:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47882#p47882</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47882#p47882"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47882#p47882"><![CDATA[
odd it works ok in my scripts. make sure your \n 's are inside your " "  and rehash your bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Mar 18, 2005 4:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EmOuBi]]></name></author>
		<updated>2005-03-18T16:33:52-04:00</updated>

		<published>2005-03-18T16:33:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47879#p47879</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47879#p47879"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47879#p47879"><![CDATA[
I tryed, it's not working  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5697">EmOuBi</a> — Fri Mar 18, 2005 4:33 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[^DooM^]]></name></author>
		<updated>2005-03-18T16:26:10-04:00</updated>

		<published>2005-03-18T16:26:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47878#p47878</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47878#p47878"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47878#p47878"><![CDATA[
put a <div class="codebox"><p>Code: </p><pre><code>\n</code></pre></div> in where you want the line to break to a new line<br><br>HTH<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3723">^DooM^</a> — Fri Mar 18, 2005 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EmOuBi]]></name></author>
		<updated>2005-03-18T15:00:54-04:00</updated>

		<published>2005-03-18T15:00:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47862#p47862</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47862#p47862"/>
		<title type="html"><![CDATA[help with quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47862#p47862"><![CDATA[
I found this simple quote script but I want someone to modify it <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><br>The bot will tell jokes about blondes when someone types !blonde in the chan. The problem is that some jokes are 300-400+ letters and they are not displaying all. <br><br>I want if the joke is more then 200 symbols to wrap it. For example if the joke is:<div class="codebox"><p>Code: </p><pre><code>&lt;botnick&gt; This is a very long joke about one blonde and you will not see it </code></pre></div>The bot must say like this:<div class="codebox"><p>Code: </p><pre><code>&lt;botnick&gt; This is a very long&lt;botnick&gt; joke about one blonde&lt;botnick&gt; and you will not see it</code></pre></div><br>Here's the quote.tcl :<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- !blonde pub_discproc pub_disc {nick mask hand channel args} {   global disc   puthelp "PRIVMSG $channel :[lindex $disc [rand [llength $disc]]]"   }set disc {"blaaaa blaaaaaaaaaa blaaaaaaa""abbsabsabsa ds dgdgdgdgd d ssddddddddgggg""saggggggggggsgasggsa sag gsa gdd gd dh hd"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5697">EmOuBi</a> — Fri Mar 18, 2005 3:00 pm</p><hr />
]]></content>
	</entry>
	</feed>
