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

	<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>2002-04-08T15:07:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-04-08T15:07:00-04:00</updated>

		<published>2002-04-08T15:07:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6072#p6072</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6072#p6072"/>
		<title type="html"><![CDATA[Yo, a question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6072#p6072"><![CDATA[
There are lots of ways. The two most obvious are:<br><br>1. Write a script that listens to channel chatter and saves the line if a random condition is met. For instance, if {[rand 100] == 1} {save_the_line} would save 1/100 of the lines (on average). You could have it rewrite the quote file each time, so that it gets rid of the first line, and appends a new one. Then you'd have a continuously changing set of random quotes. Output them in html format and you're done.<br><br><br>2. Create a logfile to log channel messages, and then write a script to randomly select lines from it and put them in the quote file. Then write another script to periodically write an html file based on the quote file.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Apr 08, 2002 3:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-04-05T22:22:00-04:00</updated>

		<published>2002-04-05T22:22:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6007#p6007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6007#p6007"/>
		<title type="html"><![CDATA[Yo, a question]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6007#p6007"><![CDATA[
how would I gather random quotes and have them display on a webpage like how chatstats does?<br><a href="http://xteam.no-ip.org/tsunami/ircstats/" class="postlink">http://xteam.no-ip.org/tsunami/ircstats/</a><br>is where my stats are stored.<p>Statistics: Posted by Guest — Fri Apr 05, 2002 10:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
