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

	<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-05-31T09:02:35-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-05-31T09:02:35-04:00</updated>

		<published>2010-05-31T09:02:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93208#p93208</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93208#p93208"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93208#p93208"><![CDATA[
that worked! thank you everyone!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Mon May 31, 2010 9:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-05-30T08:31:31-04:00</updated>

		<published>2010-05-30T08:31:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93201#p93201</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93201#p93201"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93201#p93201"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set the_chan "#EPL"bind time - "01 00*" epl:timebindproc epl:timebind {args} {   putlog "football timer active"   puthelp "privmsg $::the_chan :STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html"}putlog "football_stats loaded!"</code></pre></div>Load this and "RESTART" your bot. The reason you have so many messages is your NOT restarting your bot. A restart is required to change binds.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun May 30, 2010 8:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-05-30T03:05:18-04:00</updated>

		<published>2010-05-30T03:05:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93200#p93200</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93200#p93200"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93200#p93200"><![CDATA[
[03:00:50] &lt;@EPL&gt; STATS UPDATED: <a href="http://www.EPLonline.co.uk/chanstats/stats.html" class="postlink">www.EPLonline.co.uk/chanstats/stats.html</a><br><br>[03:12:53] &lt;@EPL&gt; STATS UPDATED: <a href="http://www.EPLonline.co.uk/chanstats/stats.html" class="postlink">www.EPLonline.co.uk/chanstats/stats.html</a><br><br>[03:59:51] &lt;@EPL&gt; STATS UPDATED: <a href="http://www.EPLonline.co.uk/chanstats/stats.html" class="postlink">www.EPLonline.co.uk/chanstats/stats.html</a><br><br>Here's the script:<div class="codebox"><p>Code: </p><pre><code>set the_chan "#EPL"bind pub - -footie EPL bind time - "01 00 * * *" EPL proc EPL {min hour day month year} { putlog "football timer active" puthelp "PRIVMSG $::the_chan :STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html" } putlog "football_stats loaded!"</code></pre></div>Though its suppose to write only once, at 00:01 ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Sun May 30, 2010 3:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-05-29T18:06:36-04:00</updated>

		<published>2010-05-29T18:06:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93198#p93198</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93198#p93198"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93198#p93198"><![CDATA[
game_over: There's no need for the full namepath in that case, as the command is already executed at a global context.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat May 29, 2010 6:06 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[game_over]]></name></author>
		<updated>2010-05-29T16:56:54-04:00</updated>

		<published>2010-05-29T16:56:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93196#p93196</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93196#p93196"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93196#p93196"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set ::the_chan "#fr3ddy"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8946">game_over</a> — Sat May 29, 2010 4:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-05-29T13:48:55-04:00</updated>

		<published>2010-05-29T13:48:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93195#p93195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93195#p93195"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93195#p93195"><![CDATA[
Doggo, you're quite right. Must've read the request as 1am  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"> <br><br>Football, do you get any error messages logged? Given the issue with the malformed mask, did you get any output at 1am instead (notice, errors, or other)?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat May 29, 2010 1:48 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-05-29T09:30:20-04:00</updated>

		<published>2010-05-29T09:30:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93193#p93193</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93193#p93193"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93193#p93193"><![CDATA[
But does it work for you with the bind time?<br><br>I mean set it to a certain time and see if that works, so far it hasn't worked for me.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Sat May 29, 2010 9:30 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-05-29T05:34:47-04:00</updated>

		<published>2010-05-29T05:34:47-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93192#p93192</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93192#p93192"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93192#p93192"><![CDATA[
<blockquote class="uncited"><div>You've got a problem with variable context: you define the_chan in a global context, yet try to read it as a local variable within EPL.. <br>Either use the global command to link the two, or use full namepath addressing when reading the variable ($::the_chan instead of $the_chan). <br><br>A third option would be to skip the variable alltogether, and hardcode the channelname into the proc.</div></blockquote>oops forgot about the :: for variables <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><br><div class="codebox"><p>Code: </p><pre><code>set the_chan "#fr3ddy" bind pub - -footie EPLbind time - "* * * * *" EPL proc EPL {min hour day month year} { putlog "football timer active" puthelp "PRIVMSG $::the_chan :STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html" } </code></pre></div>i added a -footie trigger for testing and set the timer for every minuite after working fine here.....<br><br>on the channel announces on -footie and every one min<br><div class="codebox"><p>Code: </p><pre><code>[10:26am] &lt;doggo&gt; -footie[10:27am] &lt;fr3ddy&gt; STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html[10:27am] &lt;fr3ddy&gt; STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html[10:28am] &lt;fr3ddy&gt; STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html[10:29am] &lt;fr3ddy&gt; STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html[10:30am] &lt;fr3ddy&gt; STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html</code></pre></div>and on the partyline <br><div class="codebox"><p>Code: </p><pre><code>[10:26am] &lt;fr3ddy&gt; [10:28] football timer active[10:27am] &lt;fr3ddy&gt; [10:29] football timer active[10:28am] &lt;fr3ddy&gt; [10:30] football timer active[10:29am] &lt;fr3ddy&gt; [10:31] football timer active[10:30am] &lt;fr3ddy&gt; [10:32] football timer active</code></pre></div>and wouldnt the time bind be <br><div class="codebox"><p>Code: </p><pre><code>"01 00 * * *"</code></pre></div> <br><br>for 00:01 ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Sat May 29, 2010 5:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-05-29T04:59:07-04:00</updated>

		<published>2010-05-29T04:59:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93191#p93191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93191#p93191"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93191#p93191"><![CDATA[
<blockquote class="uncited"><div>Code: <br>set the_chan "#EPL" <br><br>bind time - "00 01 *" EPL <br><br>proc EPL {min hour day month year} { <br>  putlog "football timer active" <br>  puthelp "PRIVMSG $::the_chan :STATS UPDATED: <a href="http://www.EPLonline.co.uk/chanstats/stats.html" class="postlink">www.EPLonline.co.uk/chanstats/stats.html</a>" <br>} <br><br>Or <br>Code: <br>bind time - "00 01 *" EPL <br><br>proc EPL {min hour day month year} { <br>  putlog "football timer active" <br>  puthelp "PRIVMSG #EPL :STATS UPDATED: <a href="http://www.EPLonline.co.uk/chanstats/stats.html" class="postlink">www.EPLonline.co.uk/chanstats/stats.html</a>" <br>} </div></blockquote>Hey nml375,<br><br>Thanks for the reply.<br><br>Have you tested those scripts?<br><br>I`ve tried them, they don't seem to work either.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Sat May 29, 2010 4:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-05-28T14:14:25-04:00</updated>

		<published>2010-05-28T14:14:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93190#p93190</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93190#p93190"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93190#p93190"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set the_chan "#EPL"bind time - "00 01 *" EPLproc EPL {min hour day month year} {  putlog "football timer active"  puthelp "PRIVMSG $::the_chan :STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html"}</code></pre></div>Or<div class="codebox"><p>Code: </p><pre><code>bind time - "00 01 *" EPLproc EPL {min hour day month year} {  putlog "football timer active"  puthelp "PRIVMSG #EPL :STATS UPDATED: www.EPLonline.co.uk/chanstats/stats.html"}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri May 28, 2010 2:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-05-28T14:07:01-04:00</updated>

		<published>2010-05-28T14:07:01-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93189#p93189</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93189#p93189"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93189#p93189"><![CDATA[
<blockquote class="uncited"><div>You've got a problem with variable context: you define the_chan in a global context, yet try to read it as a local variable within EPL.. <br>Either use the global command to link the two, or use full namepath addressing when reading the variable ($::the_chan instead of $the_chan). <br><br>A third option would be to skip the variable alltogether, and hardcode the channelname into the proc.</div></blockquote>So how should the script look?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Fri May 28, 2010 2:07 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2010-05-28T13:25:08-04:00</updated>

		<published>2010-05-28T13:25:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93188#p93188</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93188#p93188"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93188#p93188"><![CDATA[
You've got a problem with variable context: you define the_chan in a global context, yet try to read it as a local variable within EPL..<br>Either use the global command to link the two, or use full namepath addressing when reading the variable ($::the_chan instead of $the_chan).<br><br>A third option would be to skip the variable alltogether, and hardcode the channelname into the proc.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri May 28, 2010 1:25 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-05-28T08:10:04-04:00</updated>

		<published>2010-05-28T08:10:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93187#p93187</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93187#p93187"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93187#p93187"><![CDATA[
that script doesn't seem to work. try it.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Fri May 28, 2010 8:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[doggo]]></name></author>
		<updated>2010-05-27T19:22:06-04:00</updated>

		<published>2010-05-27T19:22:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93184#p93184</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93184#p93184"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93184#p93184"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>proc football</code></pre></div>needs changing to...<br><br><br><div class="codebox"><p>Code: </p><pre><code>proc EPL</code></pre></div>but yeah should do.....<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11046">doggo</a> — Thu May 27, 2010 7:22 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Football]]></name></author>
		<updated>2010-05-27T11:11:49-04:00</updated>

		<published>2010-05-27T11:11:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93181#p93181</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93181#p93181"/>
		<title type="html"><![CDATA[a crontab script request]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93181#p93181"><![CDATA[
set the_chan "#EPL" <br><br>bind time -|- "*00 01 * * *" EPL <br><br>proc football {min hour day month year} { <br>   putlog "football timer active" <br>   puthelp "PRIVMSG $the_chan :STATS UPDATED: <a href="http://www.EPLonline.co.uk/chanstats/stats.html" class="postlink">www.EPLonline.co.uk/chanstats/stats.html</a>"  <br>} <br><br>putlog "football_stats loaded!"<br><br><br>thats the script<br><br>and on eggdrop.conf;<br><br>source scripts/statsupdate.tcl<br><br>that'll work right?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10393">Football</a> — Thu May 27, 2010 11:11 am</p><hr />
]]></content>
	</entry>
	</feed>
