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

	<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-09-03T04:55:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-09-03T04:55:58-04:00</updated>

		<published>2002-09-03T04:55:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10379#p10379</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10379#p10379"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10379#p10379"><![CDATA[
It was never designed as a full script, just a quick hack, to locate a problem.<br><br>I have made changes to it, including those sugested, as I am including it in a set of files I use for coding.<br><br>I am sick of doing quick hacks on any of my own scripts, using these tool scripts, I hope to code a release grade script in one go.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Tue Sep 03, 2002 4:55 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2002-09-02T17:13:39-04:00</updated>

		<published>2002-09-02T17:13:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=10353#p10353</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=10353#p10353"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=10353#p10353"><![CDATA[
Hey ppslim, just one more modification you might want to make is to check if _timer and _utimer already exist (e.g. on rehash) so that you don't get an error trying to overwrite them.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Sep 02, 2002 5:13 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-08-11T17:49:13-04:00</updated>

		<published>2002-08-11T17:49:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9621#p9621</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9621#p9621"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9621#p9621"><![CDATA[
<blockquote class="uncited"><div>Thanks ppslim, this error is gone, but now i see this one<br>[23:27] Utimer error: incr : can't read "sl_bmqueue": no such variable<br><br>i think its coming from netbots.tcl?<br>Thanks<br>regards<br>AW</div></blockquote>Just to let you know, this is exactly what you should be seeing.<br><br>The script above is designed to output this information (which shows some meaningful details), rather than the normal "error in timer timer514" stuff.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Sun Aug 11, 2002 5:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-10T23:35:11-04:00</updated>

		<published>2002-08-10T23:35:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9606#p9606</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9606#p9606"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9606#p9606"><![CDATA[
i had upgraded eggdrop1.6.10 to eggdrop1.6.12, plus i had reloaded netbots4.09..<br>so any advise?? plz<br><br>thanks<br>regards<br>AW<p>Statistics: Posted by Guest — Sat Aug 10, 2002 11:35 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-08-10T17:41:23-04:00</updated>

		<published>2002-08-10T17:41:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9602#p9602</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9602#p9602"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9602#p9602"><![CDATA[
The code appears to be fine and I don't recall any other reports of the problem. Perhaps there's some strange problem with your bot.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Sat Aug 10, 2002 5:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-09T22:11:02-04:00</updated>

		<published>2002-08-09T22:11:02-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9580#p9580</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9580#p9580"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9580#p9580"><![CDATA[
Hi slennox,<br><br>i am using netbots4.09 (# netbots.tcl v4.09 (1 April 2002)<br><br>Thanks,<br>regards<br>AW<p>Statistics: Posted by Guest — Fri Aug 09, 2002 10:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[slennox]]></name></author>
		<updated>2002-08-09T21:57:41-04:00</updated>

		<published>2002-08-09T21:57:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9579#p9579</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9579#p9579"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9579#p9579"><![CDATA[
That is a sentinel.tcl error. What version are you using?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=13034">slennox</a> — Fri Aug 09, 2002 9:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-09T17:42:37-04:00</updated>

		<published>2002-08-09T17:42:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9574#p9574</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9574#p9574"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9574#p9574"><![CDATA[
Thanks ppslim, this error is gone, but now i see this one<br>[23:27] Utimer error: incr : can't read "sl_bmqueue": no such variable<br><br>i think its coming from netbots.tcl?<br>Thanks<br>regards<br>AW<p>Statistics: Posted by Guest — Fri Aug 09, 2002 5:42 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-08-09T05:04:15-04:00</updated>

		<published>2002-08-09T05:04:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9551#p9551</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9551#p9551"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9551#p9551"><![CDATA[
In the timer script you have saved, locate the line "if {$t = "t"} {" and change the = to a ==.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Fri Aug 09, 2002 5:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-08T20:14:33-04:00</updated>

		<published>2002-08-08T20:14:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9545#p9545</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9545#p9545"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9545#p9545"><![CDATA[
Hi ppslim, sorry i wasn't able to join this forum, but i did exactly you said, cos i wanna display the proc that caused the problem and the error message.<br><br>i have placed this in a empty file and saved as a text file and placed in a script dir, then loaded the script before anyother script, i mean on top of other scripts.<br>then restarted the bot, but i am getting all these error msgs<br>&lt;Ta&gt; [02:04] Tcl error in script for 'timer44421':<br>&lt;Ta&gt; [02:04] syntax error in expression "$t = "t""<br>&lt;Ta&gt; [02:04] Tcl error in script for 'timer44420':<br>&lt;Ta&gt; [02:04] syntax error in expression "$t = "t""<br>&lt;Ta&gt; [02:04] Tcl error in script for 'timer44419':<br>&lt;Ta&gt; [02:04] syntax error in expression "$t = "t""<br>&lt;Ta&gt; [02:04] Tcl error in script for 'timer44417':<br>&lt;Ta&gt; [02:04] syntax error in expression "$t = "t""<br>&lt;Ta&gt; [02:04] Tcl error in script for 'timer44422':<br>&lt;Ta&gt; [02:04] syntax error in expression "$t = "t""<br><br>i'll appreciate for your kind help<br>thanks<br>regards<br>aw<p>Statistics: Posted by Guest — Thu Aug 08, 2002 8:14 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ppslim]]></name></author>
		<updated>2002-08-05T05:25:08-04:00</updated>

		<published>2002-08-05T05:25:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9421#p9421</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9421#p9421"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9421#p9421"><![CDATA[
This will not rid you of timer problems. Instead of the normal error stating only the timer number, it will instead display the proc that caused the problem, and the error message.<br><br>To get it functioning, place it in a empty file and save it in the scripts dir.<br><br>Load the script before any other scripts.<br><br>From then on, any timer issues should give meaningful errors.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2">ppslim</a> — Mon Aug 05, 2002 5:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-08-04T13:04:29-04:00</updated>

		<published>2002-08-04T13:04:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9400#p9400</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9400#p9400"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9400#p9400"><![CDATA[
Hi, Can someone plz help me to fix these codes, because this will be very helpfull for all users, to rid timer errors.<br><br>Thanks<br>regards<br>AW<p>Statistics: Posted by Guest — Sun Aug 04, 2002 1:04 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2002-07-28T05:23:13-04:00</updated>

		<published>2002-07-28T05:23:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=9248#p9248</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=9248#p9248"/>
		<title type="html"><![CDATA[snippet codes for timer error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=9248#p9248"><![CDATA[
Hi ppslim,<br><br>i found your snippet codes for timer error, is it possible if you can help to make them work, i think that will be a great help for all users, since timer errors are pain..... i got a timer error<br>&lt;eggy&gt; [10:16] Tcl error in script for 'timer121047':<br>&lt;eggy&gt; [10:16] invalid command name "FS"<br>i tried these codes but didn't work....i will appreciate for you help<br><br>rename timer _timer <br>rename utimer _utimer <br>proc timer {time cmd} { <br>_timer $time [list debug_timer t $cmd] <br>} <br>proc utimer {time cmd} { <br>_utimer $time [list debug_timer u $cmd] <br>} <br>proc debug_timer {t cmd} { <br>if {[catch $cmd a]} { <br>if {$t = "t"} { <br>putlog "Timer error: [lindex $cmd 0] : $a" <br>} else { <br>putlog "Utimer error: [lindex $cmd 0] : $a" <br>} <br>} <br>} <br><br>thanks<br>regards<br>AW<p>Statistics: Posted by Guest — Sun Jul 28, 2002 5:23 am</p><hr />
]]></content>
	</entry>
	</feed>
