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

	<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>2002-05-15T15:14:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-15T15:14:00-04:00</updated>

		<published>2002-05-15T15:14:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6946#p6946</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6946#p6946"/>
		<title type="html"><![CDATA[Bind Time problems, pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6946#p6946"><![CDATA[
proc time_dayupwinner {args} {<br>...<br>}<p>Statistics: Posted by Guest — Wed May 15, 2002 3:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-15T09:21:00-04:00</updated>

		<published>2002-05-15T09:21:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6936#p6936</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6936#p6936"/>
		<title type="html"><![CDATA[Bind Time problems, pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6936#p6936"><![CDATA[
thx for taking time with this!! <br>changed to what u wrote.. and now it goes abit further:<br>this is the whole code<br>bind time - "15 13 * * *" time_dayupwinner           <br><br>proc time_dayupwinner { } {      <br>   if {[catch {set weektop [open "|/glftpd/bin/dayupwinner" r]}] != 0} {  <br>      putlog "ERROR - Couldn't execute"          <br>      putlog "Is it located in the bin dir and is it chmoded?"       <br>      close $weektop ; return ;<br>   }<br>   set line [gets $weektop]<br>   while {![eof $weektop]} {<br>      if { $line == 0 } {<br>         putserv "PRIVMSG $chan :Testing "           <br>         close $weektop ; return ;<br>      }<br>      putserv "PRIVMSG $chan :$line"<br>      set line [gets $weektop]<br>   }<br>   close $weektop<br>}<br><br>[13:15] TCL error [time_dayupwinner]: called "time_dayupwinner" with too many arguments<br><br>i get now, have tryed to change the lines alot of times, but cant get rid of that msg, feels like it's just a small thing that has to be changed. plz help again, thx /Danne<p>Statistics: Posted by Guest — Wed May 15, 2002 9:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-14T15:56:00-04:00</updated>

		<published>2002-05-14T15:56:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6917#p6917</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6917#p6917"/>
		<title type="html"><![CDATA[Bind Time problems, pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6917#p6917"><![CDATA[
bind time - "mm hh dd mm yy" procname<br><br>that's the format for binding time. It passes the time to the proc. From your example it seems you want to execute at 12.. Bind time works on a 24 hour clock so this would be achieved with something like<br><br>bind time - "00 12 * * *" time_cmdexe<br><br>or<br><br>bind time - "00 00 * * *" time_cmdexe<br><br>depending on AM or PM. This binds the command to every time the clock strikes 12, the asterisks signifying that we want it to execute on any day, any month and any year.<br>I think your making a mistake in the way your writing your proc and maybe you need to look at how proc's work again. They are passed information, in this case, they're passed the time that the bind executed, so your proc should be something like:<br><br>proc time_cmdexe {min hour day month year} {<br>dccbroadcast "Timer executed at $hour:$min $day $month $year"<br>}<p>Statistics: Posted by Guest — Tue May 14, 2002 3:56 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-05-14T08:21:00-04:00</updated>

		<published>2002-05-14T08:21:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=6908#p6908</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=6908#p6908"/>
		<title type="html"><![CDATA[Bind Time problems, pls help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=6908#p6908"><![CDATA[
hi, <br>trying to fix so my eggdrop execute a cmd<br>on a certain time, i got the .tcl file loaded but it wont execute to so guess i just sux on these kinda things<br>this is was i got: <br><br>bind time - test time_cmdexe<br><br>proc time_cmdexe {12 00}<br><br>help appreciated <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":smile:" title="Smile"><br><br>(this shows up when i type .bind time in partyline)<br>  TYPE FLGS     COMMAND              HITS BINDING (TCL)<br>  time -|-      test                  0 time_cmdexe<br><br><p>Statistics: Posted by Guest — Tue May 14, 2002 8:21 am</p><hr />
]]></content>
	</entry>
	</feed>
