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

	<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>2016-11-16T18:13:36-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ricktee76]]></name></author>
		<updated>2016-11-16T18:13:36-04:00</updated>

		<published>2016-11-16T18:13:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105550#p105550</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105550#p105550"/>
		<title type="html"><![CDATA[replace bind time with utimer?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105550#p105550"><![CDATA[
thanks again caesar your reply was helpful once again, i have now got it working as i wanted by adding.<br><br>Much appreciated.<div class="codebox"><p>Code: </p><pre><code> if {[info exists isonline]} {  utimer xx [list isonline $nick $uhost $hand $chan $arg]  } }</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12639">ricktee76</a> — Wed Nov 16, 2016 6:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2016-11-16T02:16:08-04:00</updated>

		<published>2016-11-16T02:16:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105549#p105549</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105549#p105549"/>
		<title type="html"><![CDATA[replace bind time with utimer?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105549#p105549"><![CDATA[
The "arguments" in a bind time are &lt;minute&gt; &lt;hour&gt; &lt;day&gt; &lt;month&gt; &lt;year&gt; not 'nick uhost hand chan arg'.<br><br>Anyway, give this a try:<div class="codebox"><p>Code: </p><pre><code>proc checkOnline args {# execute the proc you wantisonline 1 2 3 4 5# self maintainutimer 20 [list checkOnline]}# start the 20 seconds "infinite" looputimer 20 [list checkOnline]</code></pre></div>And to adapt this to your code:<div class="codebox"><p>Code: </p><pre><code>proc isonline { nick uhost hand chan arg } {global etc etc etcglobal more more more// isonline code here# self maintainutimer 20 [list isonline 1 2 3 4 5]}# initiate the looputimer 20 [list isonline 1 2 3 4 5]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Wed Nov 16, 2016 2:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ricktee76]]></name></author>
		<updated>2016-11-15T15:43:07-04:00</updated>

		<published>2016-11-15T15:43:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105547#p105547</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105547#p105547"/>
		<title type="html"><![CDATA[replace bind time with utimer?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105547#p105547"><![CDATA[
I've been running a highly modified domsen Shoutcast script but one thing i cant figure out is the bind time, currently it checks the stream is online every minute and updates the title etc into the chat.<br><br>the current bind time:<div class="codebox"><p>Code: </p><pre><code>bind time - "* * * * *" isonline</code></pre></div>which checks every minute.<br><div class="codebox"><p>Code: </p><pre><code>proc isonline { nick uhost hand chan arg } {global etc etc etcglobal more more more// isonline code here}</code></pre></div>i have tried<ul><li>set newtimer [utimer 20 {isonline nick uhost hand chan arg}]<br>utimer 20 <ul><li>utimer 20 {isonline nick uhost hand chan arg}</li></ul>the isonline process needs to be run every 20 seconds.<br><br>Do i need to add the globals to the utimer?<br><br>All help appreciated</li></ul><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12639">ricktee76</a> — Tue Nov 15, 2016 3:43 pm</p><hr />
]]></content>
	</entry>
	</feed>
