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

	<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-11-24T17:51:03-04:00</updated>

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

		<entry>
		<author><name><![CDATA[EmOuBi]]></name></author>
		<updated>2004-11-24T17:51:03-04:00</updated>

		<published>2004-11-24T17:51:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43094#p43094</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43094#p43094"/>
		<title type="html"><![CDATA[modifying quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43094#p43094"><![CDATA[
i'm tottaly newbie, where to put this  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><br>When I make:<div class="codebox"><p>Code: </p><pre><code>bind pub n !trigger pub_discproc pub_disc {nick mask hand channel args} {global disc   puthelp "PRIVMSG $channel :[lindex $disc [rand [llength $disc]]]"foreach a [split [lindex $disc [rand [llength $disc]]]] { puthelp "PRIVMSG $channel :$a" }   }set disc {"-Dialog -Dialog2 -Dialog3 ""-Aaaa -Bbbb -Cccc"}</code></pre></div>The result is:<br>&lt;me&gt;!trigger<br>&lt;botnick&gt; -Aaaa -Bbbb -Cccc<br>&lt;botnick&gt; -Aaaa<br>&lt;botnick&gt; -Bbbb<br>&lt;botnick&gt; -Cccc<br>&lt;me&gt;!trigger<br>&lt;botnick&gt; -Aaaa -Bbbb -Cccc<br>&lt;botnick&gt; -Dialog<br>&lt;botnick&gt; -Dialog2<br>&lt;botnick&gt; -Dialog3<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5697">EmOuBi</a> — Wed Nov 24, 2004 5:51 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[spock]]></name></author>
		<updated>2004-11-24T17:16:23-04:00</updated>

		<published>2004-11-24T17:16:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43091#p43091</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43091#p43091"/>
		<title type="html"><![CDATA[modifying quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43091#p43091"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>foreach a [split [lindex $disc [rand [llength $disc]]]] { puthelp "PRIVMSG $channel :$a" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2369">spock</a> — Wed Nov 24, 2004 5:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[EmOuBi]]></name></author>
		<updated>2004-11-24T16:42:08-04:00</updated>

		<published>2004-11-24T16:42:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=43089#p43089</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=43089#p43089"/>
		<title type="html"><![CDATA[modifying quote script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=43089#p43089"><![CDATA[
Hi folks<br><br>I want to modify one simple script:<br><div class="codebox"><p>Code: </p><pre><code>bind pub n !trigger pub_discproc pub_disc {nick mask hand channel args} {   global disc   puthelp "PRIVMSG $channel :[lindex $disc [rand [llength $disc]]]"   }set disc {"-Dialog1 -Dialog2 -Dialog3 ""-Aaaa -Bbbb -Cccc"}</code></pre></div>Can anyone make this Dialog1, 2 and 3 to be shown on separate lines ?<br>Like:<br>&lt;Botnick&gt;-Dialog1<br>&lt;Botnick&gt;-Dialog2<br>&lt;Botnick&gt;-Dialog3<br><br>They must be a part of a one quote.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5697">EmOuBi</a> — Wed Nov 24, 2004 4:42 pm</p><hr />
]]></content>
	</entry>
	</feed>
