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

	<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-09-13T21:24:29-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-09-13T21:24:29-04:00</updated>

		<published>2005-09-13T21:24:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55710#p55710</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55710#p55710"/>
		<title type="html"><![CDATA[Re: script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55710#p55710"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>i can if is possible a tcl for when put channel "xxx" get in database aleatory phrase, is possible thanks =  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"></div></blockquote>Processing...<br><br>This may take a few seconds, please stand by...<br><br><strong class="text-strong">Error</strong>: Question could not be analyzed, please post again with clearer and proper use of language.</div></blockquote>Yoda speak good for us is it. <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=3646">Alchera</a> — Tue Sep 13, 2005 9:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-09-13T20:19:28-04:00</updated>

		<published>2005-09-13T20:19:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55708#p55708</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55708#p55708"/>
		<title type="html"><![CDATA[script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55708#p55708"><![CDATA[
you can't specify more than 1 word using the pub bind. Instead you can use the pubm bind, read Tcl-commands.doc for more info about it.<br><br>Example:<div class="codebox"><p>Code: </p><pre><code>set dbfile "scripts/database.txt" bind pubm - * aleatory proc aleatory {nick uhost hand chan arg} {  global dbfile  set r [lindex [set d [split [read [set f [open $dbfile]]] \n]] [rand [llength $d]]]  puthelp "PRIVMSG $chan :$r"  close $f }</code></pre></div>This will reply with a random line from the db file whenever someone talks on a channel.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Sep 13, 2005 8:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stalix]]></name></author>
		<updated>2005-09-13T19:49:01-04:00</updated>

		<published>2005-09-13T19:49:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55705#p55705</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55705#p55705"/>
		<title type="html"><![CDATA[script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55705#p55705"><![CDATA[
but i can for example one word more <br>here for example <br><br><br>bind pub - hello <strong class="text-strong">bye</strong> aleatory<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6724">stalix</a> — Tue Sep 13, 2005 7:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-09-13T19:43:55-04:00</updated>

		<published>2005-09-13T19:43:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55704#p55704</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55704#p55704"/>
		<title type="html"><![CDATA[script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55704#p55704"><![CDATA[
If you want to remove "hello," then delete it from the script.<br><br>I gave you an example, so you should know how to make it reply on other words.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Sep 13, 2005 7:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stalix]]></name></author>
		<updated>2005-09-13T19:28:58-04:00</updated>

		<published>2005-09-13T19:28:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55701#p55701</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55701#p55701"/>
		<title type="html"><![CDATA[script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55701#p55701"><![CDATA[
[01:23:22] &lt;@`&gt; hello<br>[01:23:24] &lt;@NeWs&gt; <strong class="text-strong">hello</strong>, aaaa<br><br>is posible remove this ?<br><br>and other thing, is possible add more words, i want someone more dont also hello, understand? <br><br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6724">stalix</a> — Tue Sep 13, 2005 7:28 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-09-13T19:05:17-04:00</updated>

		<published>2005-09-13T19:05:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55700#p55700</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55700#p55700"/>
		<title type="html"><![CDATA[script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55700#p55700"><![CDATA[
Here's an example<div class="codebox"><p>Code: </p><pre><code>set dbfile "scripts/database.txt"bind pub - hello aleatoryproc aleatory {nick uhost hand chan arg} { global dbfile set r [lindex [set d [split [read [set f [open $dbfile]]] \n]] [rand [llength $d]]] puthelp "PRIVMSG $chan :hello, $r" close $f}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Sep 13, 2005 7:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stalix]]></name></author>
		<updated>2005-09-13T18:50:41-04:00</updated>

		<published>2005-09-13T18:50:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55698#p55698</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55698#p55698"/>
		<title type="html"><![CDATA[script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55698#p55698"><![CDATA[
example put in channel<br><br>&lt;stalix&gt; hello<br><br>and the eggdrop with "hello"respond with aleatory phrase in database.ç<br><br><br>sorry my english  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6724">stalix</a> — Tue Sep 13, 2005 6:50 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-09-13T18:49:13-04:00</updated>

		<published>2005-09-13T18:49:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55697#p55697</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55697#p55697"/>
		<title type="html"><![CDATA[Re: script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55697#p55697"><![CDATA[
<blockquote class="uncited"><div>i can if is possible a tcl for when put channel "xxx" get in database aleatory phrase, is possible thanks =  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"></div></blockquote>Processing...<br><br>This may take a few seconds, please stand by...<br><br><strong class="text-strong">Error</strong>: Question could not be analyzed, please post again with clearer and proper use of language.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Sep 13, 2005 6:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-09-13T18:12:37-04:00</updated>

		<published>2005-09-13T18:12:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55696#p55696</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55696#p55696"/>
		<title type="html"><![CDATA[script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55696#p55696"><![CDATA[
/me waits for translation from Alchera or Sir_Fz <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Sep 13, 2005 6:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stalix]]></name></author>
		<updated>2005-09-13T18:09:09-04:00</updated>

		<published>2005-09-13T18:09:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=55695#p55695</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=55695#p55695"/>
		<title type="html"><![CDATA[script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=55695#p55695"><![CDATA[
i can if is possible a tcl for when put channel "xxx" get in database aleatory phrase, is possible thanks =  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6724">stalix</a> — Tue Sep 13, 2005 6:09 pm</p><hr />
]]></content>
	</entry>
	</feed>
