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

	<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>2006-05-08T03:34:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Jcb]]></name></author>
		<updated>2006-05-08T03:34:51-04:00</updated>

		<published>2006-05-08T03:34:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62791#p62791</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62791#p62791"/>
		<title type="html"><![CDATA[OnJoin Quote System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62791#p62791"><![CDATA[
Thanks a lot! I will try this inmediatly.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7736">Jcb</a> — Mon May 08, 2006 3:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-07T19:26:25-04:00</updated>

		<published>2006-05-07T19:26:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62785#p62785</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62785#p62785"/>
		<title type="html"><![CDATA[OnJoin Quote System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62785#p62785"><![CDATA[
Try:<div class="codebox"><p>Code: </p><pre><code>bind time - ?0* savequotesbind pubm - * addquotebind join - * printquoteif {![file exists scripts/quotelist.txt]} { close [open scripts/quotelist.txt w] }set quotelist [split [read [set qlfile [open scripts/quotelist.txt]]] \n][close $qlfile]proc savequotes args { global quotelist set f [open scripts/quotelist.txt w] foreach e $quotelist {  if {$e != ""} { puts $f $e } } close $f}proc addquote {nick uhost hand chan arg} { global quotelist set nick [string tolower $nick] if {[rand 100] &lt; 5} {  if {[lsearch $quotelist "$nick $arg"] == -1} {   lappend quotelist "$nick $arg"  } }}proc printquote {nick uhost hand chan} { global quotelist set nick [string tolower $nick] if {[lsearch $quotelist "$nick *"] != -1} {  set quote [getquote $nick]  puthelp "privmsg $chan :$nick : $quote" }}proc getquote n { global quotelist foreach e $quotelist {  if {[lindex [split $e] 0] == $n} {   lappend nq [join [lrange [split $e] 1 end]]  } } return [lindex $nq [rand [llength $nq]]]}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 07, 2006 7:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jcb]]></name></author>
		<updated>2006-05-07T19:09:01-04:00</updated>

		<published>2006-05-07T19:09:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62784#p62784</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62784#p62784"/>
		<title type="html"><![CDATA[OnJoin Quote System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62784#p62784"><![CDATA[
<blockquote class="uncited"><div>So, you want your bot to add every line said by every user to a file?</div></blockquote>Thats too much obviously. Is there a way to work with chances? Like 5% it stores the quote?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7736">Jcb</a> — Sun May 07, 2006 7:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-05-07T17:31:57-04:00</updated>

		<published>2006-05-07T17:31:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62782#p62782</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62782#p62782"/>
		<title type="html"><![CDATA[OnJoin Quote System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62782#p62782"><![CDATA[
So, you want your bot to add every line said by every user to a file?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun May 07, 2006 5:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Jcb]]></name></author>
		<updated>2006-05-07T15:12:24-04:00</updated>

		<published>2006-05-07T15:12:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=62777#p62777</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=62777#p62777"/>
		<title type="html"><![CDATA[OnJoin Quote System]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=62777#p62777"><![CDATA[
Hello!<br><br>I've been looking for a script for my eggdrop that automaticly stores quotes from people in my channel. Once a person leaves and later joins the same channel again, I'd like the eggdrop to randomly pick one quote that person has said and spit it out in the channel. <br><br>A lot of quote systems I have encountered are systems where you can only add quotes, eg: !add &lt;quote&gt;. That's is <strong class="text-strong">not</strong> what I'm looking for. Any help would be greatly appreciated!<br><br>Jcb.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7736">Jcb</a> — Sun May 07, 2006 3:12 pm</p><hr />
]]></content>
	</entry>
	</feed>
