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

	<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>2006-03-07T16:20:25-04:00</updated>

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

		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-03-07T16:20:25-04:00</updated>

		<published>2006-03-07T16:20:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60931#p60931</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60931#p60931"/>
		<title type="html"><![CDATA[wow.tcl timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60931#p60931"><![CDATA[
Thanks, I got it working...  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Tue Mar 07, 2006 4:20 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[incith]]></name></author>
		<updated>2006-03-07T14:26:20-04:00</updated>

		<published>2006-03-07T14:26:20-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60928#p60928</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60928#p60928"/>
		<title type="html"><![CDATA[wow.tcl timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60928#p60928"><![CDATA[
Just browsing over Tcl docs, you'll likely need to store the ID of the timer.<br><div class="codebox"><p>Code: </p><pre><code>set timerID [timer $wowtime "timer:wow"]killtimer $timerIDset timerID [timer $wowtime "timer:wow"]</code></pre></div>Good luck.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6130">incith</a> — Tue Mar 07, 2006 2:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[cache]]></name></author>
		<updated>2006-03-07T14:23:22-04:00</updated>

		<published>2006-03-07T14:23:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=60927#p60927</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=60927#p60927"/>
		<title type="html"><![CDATA[wow.tcl timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=60927#p60927"><![CDATA[
Can anyone show me what I can add to kill timer when bot jumps server? like on disconnect..<br><br>Because when I use this script and the bot jumps server it adds another 30min timer without killing the old timer..<br><div class="codebox"><p>Code: </p><pre><code>set wowtime "30"</code></pre></div>and<div class="codebox"><p>Code: </p><pre><code>proc timer:wow {} {  global botnick wowchan wowtime wowtxt  if { [onchan $botnick $wowchan] } {    set wowfile [open $wowtxt r]    set wowread [split [read $wowfile] \n]    close $wowfile    putserv "PRIVMSG $wowchan :[lindex $wowread [rand [llength $wowread]]] "    timer $wowtime "timer:wow"   }}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7220">cache</a> — Tue Mar 07, 2006 2:23 pm</p><hr />
]]></content>
	</entry>
	</feed>
