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

	<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>2004-04-15T21:37:38-04:00</updated>

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

		<entry>
		<author><name><![CDATA[egghead]]></name></author>
		<updated>2004-04-15T21:37:38-04:00</updated>

		<published>2004-04-15T21:37:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35599#p35599</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35599#p35599"/>
		<title type="html"><![CDATA[weekdays timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35599#p35599"><![CDATA[
<blockquote class="uncited"><div>...and to get it to send the message from monday to friday?<br><br>have searched the forum but this dealt with a single day only.</div></blockquote>Like crazycat said, use the %u formatting and then check if the number is below 6 (i.e. Mon-Fri).<br><blockquote class="uncited"><div>%u<br>    Weekday number (Monday = 1, Sunday = 7)</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=282">egghead</a> — Thu Apr 15, 2004 9:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-04-15T19:47:00-04:00</updated>

		<published>2004-04-15T19:47:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35591#p35591</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35591#p35591"/>
		<title type="html"><![CDATA[weekdays timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35591#p35591"><![CDATA[
...and to get it to send the message from monday to friday?<br><br>have searched the forum but this dealt with a single day only.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Thu Apr 15, 2004 7:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2004-04-15T12:05:46-04:00</updated>

		<published>2004-04-15T12:05:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35562#p35562</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35562#p35562"/>
		<title type="html"><![CDATA[weekdays timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35562#p35562"><![CDATA[
try with:<div class="codebox"><p>Code: </p><pre><code>if {![string equal [clock format [clock seconds] -format "%A"] "Monday"]} {return}</code></pre></div>or search the forum cos I belive this had been discussed before.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Apr 15, 2004 12:05 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-04-15T08:07:28-04:00</updated>

		<published>2004-04-15T08:07:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35544#p35544</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35544#p35544"/>
		<title type="html"><![CDATA[weekdays timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35544#p35544"><![CDATA[
thanks - any advice on implementing this into my script...?<br><br> <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_confused.gif" width="15" height="15" alt=":-?" title="Confused"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Thu Apr 15, 2004 8:07 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2004-04-15T04:09:55-04:00</updated>

		<published>2004-04-15T04:09:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35538#p35538</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35538#p35538"/>
		<title type="html"><![CDATA[weekdays timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35538#p35538"><![CDATA[
try using strftime %u wich gives you the weekday, monday is 1 and sunday is 7<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Thu Apr 15, 2004 4:09 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[NewzUK]]></name></author>
		<updated>2004-04-12T04:14:41-04:00</updated>

		<published>2004-04-12T04:14:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=35452#p35452</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=35452#p35452"/>
		<title type="html"><![CDATA[weekdays timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=35452#p35452"><![CDATA[
Hi - I'm trying to send some info to the channel at certain times from Monday to Friday only and another one for Sunday to Thursday only...<br><br>I have this proc for starters that will send it for Monday, but is there a way to add the rest of the days of the week to it as well?<br><br>bind time - "30 09 *" us:opening<br>proc us:opening {min hour day month year} { <br>if {[clock format [clock seconds] -format "%A"] != "Monday"} { return }<br>    putserv "PRIVMSG #Newsroom :stuff to send"<br>}<br><br>any ideas?<br>Thanks in advance!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2210">NewzUK</a> — Mon Apr 12, 2004 4:14 am</p><hr />
]]></content>
	</entry>
	</feed>
