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

	<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>2010-03-30T23:20:32-04:00</updated>

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

		<entry>
		<author><name><![CDATA[beartard]]></name></author>
		<updated>2010-03-30T23:20:32-04:00</updated>

		<published>2010-03-30T23:20:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92654#p92654</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92654#p92654"/>
		<title type="html"><![CDATA[greet onjoin with ecclesiastical calendar]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92654#p92654"><![CDATA[
To skip the background info, go down to ***<br><br>Sorry for the first post.  I set my bot up from resources here years ago, but didn't ever need to register.  Now I'm asking for help...and don't have a dress...and am not willing to cry about it &lt;sniff&gt;. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">  <br><br>I have a small bot in several Catholic channels on EFnet.  It doesn't handle any channel functions and isn't even opped.  It's main functions are quotes from the Bible, the Catechism, and the Code of Canon Law.  It also gives a list of scripture readings for Mass each day, the saint of the day, and inspirational quotes on demand.  It uses incith-google (mainly for unit converstions) and parses the title of web links (so people can screen the links before watching.)  I think that about covers it  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><br><br>The problem I have now is that I've moved my bot to run from my router so that I can conserve a lot of power when I'm not around.<br><br>I had devised this awesome rube-goldberg system when the bot was running on my computer.  I set up a cron job to run a bash script each night at midnight.  This script would run a C app called "romcal," parse the calendar data from it and write it to a text file.  When a person joined the channel, the text file would be read to him as a notice.  It would say "Welcome to #&lt;channel&gt;, &lt;nick&gt;!  Today we celebrate &lt;Liturgical Day from calendar&gt;.  The liturgical colour is &lt;colour&gt;.  For a list of commands, type !help."<br><br>It was a great workaround to learning how to do tcl and regular expressions.  But the architectures of my router and my computer are different and the romcal app will not cross-compile.  So the key part of my workaround for an onjoin message just won't work anymore.<br><br>***<br>Would it be possible to write a tcl script that fetches the same calendar/colour information from a website or two and does the onjoin message above by itself?<br><br><a href="http://www.romcal.net" class="postlink">http://www.romcal.net</a> is the original page of the C app, and it includes both the calendar information and colour for the day.<br><br><a href="http://www.usccb.org/nab/033010.shtml" class="postlink">http://www.usccb.org/nab/033010.shtml</a> is a sample from the bishops' website that includes the liturgical day.<br><br>and<br><br><a href="http://www.universalis.com/" class="postlink">http://www.universalis.com/</a> also includes the liturgical day in the top banner.<br><br>Any ideas?  I'm willing to contribute beer money to a good coder  <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=11156">beartard</a> — Tue Mar 30, 2010 11:20 pm</p><hr />
]]></content>
	</entry>
	</feed>
