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

	<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>2011-02-25T16:19:23-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Gemster]]></name></author>
		<updated>2011-02-25T16:19:23-04:00</updated>

		<published>2011-02-25T16:19:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96216#p96216</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96216#p96216"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96216#p96216"><![CDATA[
Ok "0 */2 * * *" seems to be working so far <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>I think what the problem is , is that the first * meens every minute so that would explain why "* */2 * * *" done the command every minute instead of every 2 hours.<br><br>Thanks<br>Gemster<br><br>Edit: Yes its working every 2 hours with "0 */2 * * *" <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11375">Gemster</a> — Fri Feb 25, 2011 4:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gemster]]></name></author>
		<updated>2011-02-25T14:44:04-04:00</updated>

		<published>2011-02-25T14:44:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96209#p96209</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96209#p96209"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96209#p96209"><![CDATA[
Ok willyw,<br><br>Testing 0 */2 * * * now to see if that works, if not ill test the "0 0,2,4,6,8,10,12,14,16,18,20,22 * * *".<br><br>I guess thats a 4 hour test lol.<br><br>Ill let u know if any of them work in 4 hours <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>Thanks<br>Gemster<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11375">Gemster</a> — Fri Feb 25, 2011 2:44 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2011-02-25T14:16:46-04:00</updated>

		<published>2011-02-25T14:16:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96207#p96207</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96207#p96207"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96207#p96207"><![CDATA[
<blockquote class="uncited"><div>...<br>Yes willyw it works with "0 * * * *" but what if i need it for every 2 hours or every 3 hours ?<br></div></blockquote>Here:<br><a href="http://www.linuxhelp.net/guides/cron/" class="postlink">http://www.linuxhelp.net/guides/cron/</a><br>it says<blockquote class="uncited"><div>If you wanted to run a command every 2 hours you could enter in */2 for the hour field. This would run the specified command at 2am, 4am, 6am, 8am, 10am, 12pm, 2pm, and so on. An example of this type of entry would be:<br><br>0 */2 * * *</div></blockquote>And if that doesn't work, I wonder...<br>what if you entered a list of specific hours?<br>"0 0,2,4,6,8,10,12,14,16,18,20,22 * * *"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Feb 25, 2011 2:16 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gemster]]></name></author>
		<updated>2011-02-25T13:58:48-04:00</updated>

		<published>2011-02-25T13:58:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96206#p96206</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96206#p96206"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96206#p96206"><![CDATA[
<blockquote class="uncited"><div><blockquote class="uncited"><div>It can contain up to five fields: minute, hour, day, month, weekday; delimited by whitespace.</div></blockquote>So the "* */1 * * *" should trigger once every hour, 24/7/365 (or 366). A 'every two hours' crontab mask will be: "* */2 * * *"</div></blockquote>It dosent tho. Even if i do "* */2 * * *" or "* */3 * * *" it still triggers every minute as tho its ignoring the /1, /2 or /3.<br><br>Yes willyw it works with "0 * * * *" but what if i need it for every 2 hours or every 3 hours ?<br><br>Thanks<br>Gemster<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11375">Gemster</a> — Fri Feb 25, 2011 1:58 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2011-02-25T13:39:58-04:00</updated>

		<published>2011-02-25T13:39:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96205#p96205</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96205#p96205"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96205#p96205"><![CDATA[
<blockquote class="uncited"><div>...<br> Its very confusing but i guess once u get the hang of it, it gets easyer to understand.<br></div></blockquote>I won't argue with that.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br> Try:<br>"0 * * * *"<br><br>Won't that make it run every hour, on the minute that ends in :00 ?<br>If you want to choose a different minute of the hour, just change that number.<br><br>Disclaimer:<br>I'm not saying that this is THE right way to do it.    Perhaps someone else will be along...<br><br>In the meantime,  try it, and let us know.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Feb 25, 2011 1:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-02-25T12:13:30-04:00</updated>

		<published>2011-02-25T12:13:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96204#p96204</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96204#p96204"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96204#p96204"><![CDATA[
<blockquote class="uncited"><div>It can contain up to five fields: minute, hour, day, month, weekday; delimited by whitespace.</div></blockquote>So the "* */1 * * *" should trigger once every hour, 24/7/365 (or 366). A 'every two hours' crontab mask will be: "* */2 * * *"<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Feb 25, 2011 12:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gemster]]></name></author>
		<updated>2011-02-25T11:51:30-04:00</updated>

		<published>2011-02-25T11:51:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96203#p96203</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96203#p96203"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96203#p96203"><![CDATA[
I had a look at them site you posted but i still get confused as they do say "* */1 * * *" every 1 hour<br><br>or<br> "* *1-24 * * *"<br><br>and for every 2 hours it be like this:<br><br>"* *0,2,4,6,8,10,12,14,16,18,20,22 * * *"<br><br>is this correct. Its very confusing but i guess once u get the hang of it, it gets easyer to understand.<br><br>Thanks<br>Gemster<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11375">Gemster</a> — Fri Feb 25, 2011 11:51 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2011-02-25T11:34:46-04:00</updated>

		<published>2011-02-25T11:34:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96202#p96202</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96202#p96202"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96202#p96202"><![CDATA[
<blockquote class="uncited"><div>...<br>"* */1 * * *" makes it do it every 1 min not once an hour.<br></div></blockquote>Google for <br>crontab<br>and find some examples/help on how to use crontab.<br><br>All you are looking for, is the syntax.  <br>You'll find other specific info on crontab too.<br><br>From tcl-commands.doc:<blockquote class="uncited"><div>All cron operators are supported. Please refer to the crontab<br>manual for their meanings. </div></blockquote><br>Here's a few:<br><a href="http://linux.about.com/od/commands/l/blcmdl5_crontab.htm" class="postlink">http://linux.about.com/od/commands/l/bl ... rontab.htm</a><br><a href="http://ss64.com/bash/crontab.html" class="postlink">http://ss64.com/bash/crontab.html</a><br><a href="http://adminschoice.com/crontab-quick-reference" class="postlink">http://adminschoice.com/crontab-quick-reference</a><br><br>(Every time I use it, I have to go look it up too )<br><br><br>I hope this helps.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Fri Feb 25, 2011 11:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gemster]]></name></author>
		<updated>2011-02-25T07:11:52-04:00</updated>

		<published>2011-02-25T07:11:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96199#p96199</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96199#p96199"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96199#p96199"><![CDATA[
Thanks caesar,<br><br>It now works but i found another problem :/<br><br>"* */1 * * *" makes it do it every 1 min not once an hour.<br><br>Thanks<br>Gemster<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11375">Gemster</a> — Fri Feb 25, 2011 7:11 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-02-25T02:31:07-04:00</updated>

		<published>2011-02-25T02:31:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96196#p96196</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96196#p96196"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96196#p96196"><![CDATA[
I think you have an older version of TCL, cos in version <a href="http://www.tcl.tk/man/tcl8.5/TclCmd/switch.htm" class="postlink">8.5.8</a> that I have the 'nocase' option exist. Anyway, replace the:<div class="codebox"><p>Code: </p><pre><code>switch -nocase -- [lindex [split $text] 0] {</code></pre></div>with:<div class="codebox"><p>Code: </p><pre><code>switch -- [string tolower [lindex [split $text] 0]] {</code></pre></div>and should work just fine.<br><br>In the second code with the 'bind:check' proc I do a check if the bind exists or not, cos if it exists and you want to create it again, or delete something that doesn't exist will give you an error. I just covered all the possible errors. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Fri Feb 25, 2011 2:31 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gemster]]></name></author>
		<updated>2011-02-24T20:52:35-04:00</updated>

		<published>2011-02-24T20:52:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96195#p96195</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96195#p96195"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96195#p96195"><![CDATA[
Wow caesar lol,<br><br>Slow down <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>Im still learning rember. Anyways let me get the first code posted working then ill move onto your last version, By looking at the code i see it checks the var when u do on/off.<br><br>Anyways befor i test that code and learn that id like to learn the first 1 and get that sorted befor i move on <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br>well, the first version i done what u sed but i still get errors:<br><br>Tcl error [pub:tssync]: bad option "-nocase": must be -exact, -glob, -regexp, or --<br><br>Thanks<br>Gemster<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11375">Gemster</a> — Thu Feb 24, 2011 8:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-02-24T14:42:31-04:00</updated>

		<published>2011-02-24T14:42:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96191#p96191</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96191#p96191"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96191#p96191"><![CDATA[
Oh snap. &lt;/facepalm&gt;<br><br>You get that error because you are using your old bind instead of the one I should have included in my previous post. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><br><br>Before the:<div class="codebox"><p>Code: </p><pre><code>proc pub:tssync {nick uhost hand chan text} { </code></pre></div>add:<div class="codebox"><p>Code: </p><pre><code>bind pub * .tssync pub:tssync</code></pre></div>and remove other code. I've made this change in my previous post too.<br><br>Edit: Here's a enhanced version, one that is bug free (do a .tssync on or off twice and see what happens)<div class="codebox"><p>Code: </p><pre><code>bind pub - ".tssync" pub:tssyncproc pub:tssync {nick host hand chan text} {  if {![string match -nocase $chan "#opers"]} return   if {![isop $nick #opers]} {    putserv "PRIVMSG $chan :Sorry \00310$nick\003, you dont have access to use that command"    return  }  switch -nocase -- [lindex [split $text] 0] {    "on" {      if {![bind:check "cron:tssync"]} {        bind cron - "* */1 * * *" cron:tssync        putserv "PRIVMSG $chan :TSSync turned \0039\002ON\002\003 by \00310$nick\003."        } else {        putserv "PRIVMSG $chan :TSSync is already \0039\002OFF\002\003."      }    }    "off" {      if {[bind:check "cron:tssync"]} {        unbind cron - "* */1 * * *" cron:tssync        putserv "PRIVMSG $chan :TSSync turned \0034\002OFF\002\003 by \00310$nick\003."        } else {        putserv "PRIVMSG $chan :TSSync is already \0034\002OFF\002\003."      }    }    "check" {      if {[bind:check "cron:tssync"]} {        set status "\0039\002ON\002\003"        } else {        set status "\0034\002OFF\002\003"      }      putserv "PRIVMSG $chan :TSSync is currently $status"    }    default {      putserv "NOTICE $nick :Correct syntax is: \002.tssync on/off/check\002"    }  }}proc bind:check {name} {  set status 0  foreach {type flags command hits bind} [join [binds]] {    if {[string equal -nocase $bind $name]} {      set status 1      break    }  }  return $status}proc cron:tssync {min hour day month weekday} {  putserv "PRIVMSG OperServ :tssync"}</code></pre></div>I took the liberty to make it work only in #opers channel. You should remove the 'if {![string match -nocase $chan "#opers"]} return' line if don't want this behavior.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Thu Feb 24, 2011 2:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Gemster]]></name></author>
		<updated>2011-02-24T09:59:08-04:00</updated>

		<published>2011-02-24T09:59:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96189#p96189</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96189#p96189"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96189#p96189"><![CDATA[
caesar, your code does not work :/<br><br>When i do ".tssync on" i get this error:<blockquote class="uncited"><div>Tcl error [tssync]: invalid command name "tssync"</div></blockquote>Thanks<br>Gemster<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11375">Gemster</a> — Thu Feb 24, 2011 9:59 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[willyw]]></name></author>
		<updated>2011-02-19T10:32:28-04:00</updated>

		<published>2011-02-19T10:32:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96105#p96105</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96105#p96105"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96105#p96105"><![CDATA[
Take time to read this and bookmark it :<br><a href="http://www.peterre.info/characters.html" class="postlink">http://www.peterre.info/characters.html</a><br><br>Bookmark it, because you'll want to return to it, and re-read it too.   <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><blockquote class="uncited"><div>How to write eggdrop scripts that won't choke on special characters<br><br>by "Peterre"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10420">willyw</a> — Sat Feb 19, 2011 10:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2011-02-24T15:08:59-04:00</updated>

		<published>2011-02-19T04:53:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=96101#p96101</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=96101#p96101"/>
		<title type="html"><![CDATA[varibles help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=96101#p96101"><![CDATA[
You should 'split' the $text and take what you need from it with 'lindex'<div class="codebox"><p>Code: </p><pre><code>set text [lindex [split $text] 0]</code></pre></div><blockquote class="uncited"><div>if {[onchan $nick #opers] == 1 &amp;&amp; [isop $nick #opers] == 1} { </div></blockquote>there's no need to check bouth, stick with just the isop as it wil return 1 if that user is on the channel and has op, else will return 0.<br>Also, here's another tip:<div class="codebox"><p>Code: </p><pre><code>if {$something} {  will do this part if $something is equal with 1}if {!$something} {  will do this part if $something is equal with 0}</code></pre></div><blockquote class="uncited"><div>if {$text == "on"} { </div></blockquote>You should start using either [string tolower $text] or [string match -nocase $text "on"] (same thing for "off" and "check") as "ON" isn't the same thing as 'on' and the script won't work<br>I would replace:<div class="codebox"><p>Code: </p><pre><code>if {$text != "on" &amp;&amp; $text != "off" &amp;&amp; $text != "check"} {  putquick "NOTICE $nick : syntax is .tssync on/off/check"} </code></pre></div>with something easier to change:<div class="codebox"><p>Code: </p><pre><code>set commands [list "on" "off" "check"]if {![lsearch -exact $commands $text]} {  putquick "NOTICE $nick : syntax is .tssync on/off/check"}</code></pre></div>OR use 'switch -nocase -- $text' like i did on the <a href="http://forum.egghelp.org/viewtopic.php?p=96036" class="postlink">other</a> topic that would take care of other inputs for you.<div class="codebox"><p>Code: </p><pre><code>switch -nocase -- [lindex [split $text] 0] {  "on" {    # on stuff here  }  "off" {    # off stuff here  }  "check" {    # check stuff here  }  default {    # any other command goes here  }}</code></pre></div>Move the 'if' check that sends this message:<div class="codebox"><p>Code: </p><pre><code>putmsg #opers "Sorry \00310$nick\003, you dont have access to use that command"</code></pre></div>at top and return after like this:<div class="codebox"><p>Code: </p><pre><code>if {![isop $nick "#opers"]} {   putserv "PRIVMSG #opers :Sorry \00310$nick\003, you dont have access to use that command"   return}</code></pre></div>Here's my version of your code with 'switch':<div class="codebox"><p>Code: </p><pre><code>bind pub - ".tssync" pub:tssyncproc pub:tssync {nick uhost hand chan text} {  global tss  if {![isop $nick "#opers"]} {    putserv "PRIVMSG $chan :Sorry \00310$nick\003, you dont have access to use that command"     return  }  switch -nocase -- [lindex [split $text] 0] {    "on" {      set tss "on"      putserv "PRIVMSG $chan :TSSync turned \0034\002ON\002\003 by \00310$nick\003."      bind cron - "* */1 * * *" cron:tssync    }    "off" {      set tss "off"      putserv "PRIVMSG $chan :TSSync turned \0034\002OFF\002\003 by \00310$nick\003."      unbind cron - "* */1 * * *" cron:tssync    }    "check" {      putserv "PRIVMSG $chan :TSSync is currently $tss"    }    default {      putserv "NOTICE $nick : syntax is .tssync on/off/check"    }  }}proc cron:tssync {min hour day month weekday} {  putserv "PRIVMSG OperServ :tssync"}</code></pre></div>Edit: Fixed minor typos and added the missing bind. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Sat Feb 19, 2011 4:53 am</p><hr />
]]></content>
	</entry>
	</feed>
