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

	<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>2024-09-08T01:01:37-04:00</updated>

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

		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2024-09-08T01:01:37-04:00</updated>

		<published>2024-09-08T01:01:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113012#p113012</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113012#p113012"/>
		<title type="html"><![CDATA[Re: bind time script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113012#p113012"><![CDATA[
And use buit-in <em class="text-italics">isbotnick</em> instead of that prone to fail if:<div class="codebox"><p>Code: </p><pre><code>if {$botnick == "$videoland"} {</code></pre></div>to:<div class="codebox"><p>Code: </p><pre><code>if {[isbotnick $videoland]} {</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sun Sep 08, 2024 1:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Leon--]]></name></author>
		<updated>2024-09-04T10:31:20-04:00</updated>

		<published>2024-09-04T10:31:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113009#p113009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113009#p113009"/>
		<title type="html"><![CDATA[Re: bind time script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113009#p113009"><![CDATA[
Thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13024">Leon--</a> — Wed Sep 04, 2024 10:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2024-09-04T09:51:08-04:00</updated>

		<published>2024-09-04T09:51:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113008#p113008</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113008#p113008"/>
		<title type="html"><![CDATA[Re: bind time script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113008#p113008"><![CDATA[
Well, first thing to see : <blockquote class="uncited"><div>Minute, hour, day, month have a zero padding so they are exactly two characters long; year is four characters. Flags are ignored.</div></blockquote>So, try:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">bind time - "43 12 04 * *" msg:videoland1</code></pre></div> <strong>script</strong> Another thing to see, it's if your proc is called. Check it with:<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/atom-one-dark-reasonable.min.css"> <strong>script</strong>  <strong>script</strong> <div class="codebox"><pre><code class="language-tcl">proc msg:videoland1 {nick host hand chan arg} {   global botnick opchan videoland trigger statschan   putlog "OK, we are in msg:videoland1 and will compare $botnick against $videoland"   if {$botnick == "$videoland"} {      putserv "PRIVMSG $statschan :${trigger}-videoland 1"      timer 1 videoland2      return 0   }}</code></pre></div> <strong>script</strong> <p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Wed Sep 04, 2024 9:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Leon--]]></name></author>
		<updated>2024-09-04T09:11:50-04:00</updated>

		<published>2024-09-04T09:11:50-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=113007#p113007</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=113007#p113007"/>
		<title type="html"><![CDATA[bind time script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=113007#p113007"><![CDATA[
Hi,<br><br>I have a script but it won't work, what is the solution for this ?<br><br>bind time - "43 12 4 * *" msg:videoland1<br><br>proc msg:videoland1 {nick host hand chan arg} {<br>  global botnick opchan videoland trigger statschan<br>  if {$botnick == "$videoland"} {   <br>     putserv "PRIVMSG $statschan :${trigger}-videoland 1"<br>     timer 1 videoland2<br>     return 0<br>  }<br>}<br>proc videoland2 {} {<br>  global botnick statschan<br>  putserv "PRIVMSG $statschan :.videoland"<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13024">Leon--</a> — Wed Sep 04, 2024 9:11 am</p><hr />
]]></content>
	</entry>
	</feed>
