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

	<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-11-05T17:47:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[dhp1080]]></name></author>
		<updated>2006-11-05T17:47:38-04:00</updated>

		<published>2006-11-05T17:47:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67765#p67765</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67765#p67765"/>
		<title type="html"><![CDATA[Countdown to date in topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67765#p67765"><![CDATA[
<blockquote class="uncited"><div>That's not very easy to do if your topic constantly changes, so I wouldn't count on it anytime soon (unless the countdown should always be in the middle of the |   | part (in which case, it wouldn't be very hard at all)</div></blockquote>The countdown would always be in the || part, and the URL never changes. If someone were to erase the countdown part, i'd want the bot to go about fixing it and putting it back.<br><br>Thanks for the responses.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8092">dhp1080</a> — Sun Nov 05, 2006 5:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-11-05T17:04:04-04:00</updated>

		<published>2006-11-05T17:04:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67764#p67764</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67764#p67764"/>
		<title type="html"><![CDATA[Countdown to date in topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67764#p67764"><![CDATA[
I'll make a modified version of my date.tcl script to handle events and setting topics. Gimme a few days to finish it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sun Nov 05, 2006 5:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[metroid]]></name></author>
		<updated>2006-11-05T14:13:50-04:00</updated>

		<published>2006-11-05T14:13:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67751#p67751</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67751#p67751"/>
		<title type="html"><![CDATA[Countdown to date in topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67751#p67751"><![CDATA[
That's not very easy to do if your topic constantly changes, so I wouldn't count on it anytime soon (unless the countdown should always be in the middle of the |   | part (in which case, it wouldn't be very hard at all)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5078">metroid</a> — Sun Nov 05, 2006 2:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[dhp1080]]></name></author>
		<updated>2006-11-04T18:52:31-04:00</updated>

		<published>2006-11-04T18:52:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=67721#p67721</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=67721#p67721"/>
		<title type="html"><![CDATA[Countdown to date in topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=67721#p67721"><![CDATA[
Hi,<br><br>I suppose this topic is from over a year ago, but it still fits very well what I need, but not quite.<br><br>My topic is in the format of "<a href="http://example.com" class="postlink">http://example.com</a> | &lt;countdown&gt; | Any text"<br><br>I'd really appreciate it if someone could slightly modify the above script to put it into that format, and maybe reupdate the topic whenever anyone changes it in case the countdown gets taken out accidentally.<br><br>Thanks in advance<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8092">dhp1080</a> — Sat Nov 04, 2006 6:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[greenbear]]></name></author>
		<updated>2005-03-10T23:48:40-04:00</updated>

		<published>2005-03-10T23:48:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47417#p47417</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47417#p47417"/>
		<title type="html"><![CDATA[Countdown to date in topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47417#p47417"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code># set the name and date for the convention here# convention name mm/dd/yyset conventions {  "radcon 04/25/05"  "norwescon 07/11/2005"  "and another convention 08/15/2005"}# channelset convchan #channelbind pub -|- !topconv pubconvbind time - "00 00 * * *" convtimeproc pubconv {nick uhost hand chan text} { settopic}proc convtime {min hour day month year} { settopic}proc settopic {} { foreach c $::conventions {  set conv [lrange $c 0 end-1]  set when [clock scan [lindex $c end]]  set days [expr ($when-[clock seconds])/86400]  lappend topic "$days more days till [join $conv]!" } putserv "TOPIC $::convchan :[join $topic {, }]"}</code></pre></div>It will update the topic at midnight every night, and you can also type !topconv to update it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=24">greenbear</a> — Thu Mar 10, 2005 11:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Venus]]></name></author>
		<updated>2005-03-10T19:22:32-04:00</updated>

		<published>2005-03-10T19:22:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=47413#p47413</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=47413#p47413"/>
		<title type="html"><![CDATA[Countdown to date in topic]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=47413#p47413"><![CDATA[
I run a convention site, with chat room and would like a way for the bot to change the topic to include the how many more days untill (this convention).<br><br>One of the things though is I need to be able to set multiple dates and multiple places. Because we work with other local conventions. So the topic would read:<br><br>"Topic: 340 more days till radcon!,  56 more days till norwescon! etc."<br><br>With perhaps certain things where you could say that when it was within a week he would say something different than just days. Like 2months and 3 days. or only one week away!<br><br>If this script is too complicated forgive me for asking <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"> I am new here and don't know what is considered an allowable request.<br><br>Venus<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6055">Venus</a> — Thu Mar 10, 2005 7:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
