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

	<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>2018-03-07T13:04:20-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Madalin]]></name></author>
		<updated>2018-03-07T13:04:20-04:00</updated>

		<published>2018-03-07T13:04:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=106724#p106724</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=106724#p106724"/>
		<title type="html"><![CDATA[routines for daily/weekly/monthly/yearly]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=106724#p106724"><![CDATA[
Can anyone tell me if these are the correct codes for bind time routines?<div class="codebox"><p>Code: </p><pre><code>if {($min eq "01") &amp;&amp; [regexp {^(00|07|14|21|28)$} $day]} { putlog "UserAge Weekly RESET has been triggered"; set temp(userage-reset) "weekly" }if {$min eq "02" &amp;&amp; $day eq "00"} { putlog "UserAge Monthly RESET has been triggered"; set temp(userage-reset) "monthly" }if {$min eq "00" &amp;&amp; [regexp {^(00|01|02|03|04|05|06|07|08|09|10|11|12|13|14|15|16|17|18|19|20|21|22|23|00)$} $hour]} { putserv "PRIVMSG _MaDaLiN_ :UserAge Daily RESET has been triggered"; set temp(userage-reset) "daily" }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6396">Madalin</a> — Wed Mar 07, 2018 1:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
