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

	<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-27T20:36:15-04:00</updated>

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

		<entry>
		<author><name><![CDATA[sKy]]></name></author>
		<updated>2006-03-27T20:36:15-04:00</updated>

		<published>2006-03-27T20:36:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61448#p61448</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61448#p61448"/>
		<title type="html"><![CDATA[Testing script before starting eggdrop ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61448#p61448"><![CDATA[
There is no need to let the bot crash every time. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>Use the 'saved source' command, errorInfo and backtraces. Should be enugh help. Enjoy. =)<br><br><a href="http://forum.egghelp.org/viewtopic.php?t=10291" class="postlink">http://forum.egghelp.org/viewtopic.php?t=10291</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6101">sKy</a> — Mon Mar 27, 2006 8:36 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2006-03-24T13:39:18-04:00</updated>

		<published>2006-03-24T13:39:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61357#p61357</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61357#p61357"/>
		<title type="html"><![CDATA[Testing script before starting eggdrop ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61357#p61357"><![CDATA[
I personally use this little script to load my scripts:<div class="codebox"><p>Code: </p><pre><code>########## .loadtcl#bind dcc n loadtcl loadtclproc loadtcl {hand idx args} {if {$args == {{}}} {set args $::lasttclloaded} else {set ::lasttclloaded $args}uplevel #0 [list source scripts/$args.tcl]return 1}</code></pre></div>This will simply "rehash" a single script, very fast and very usefull imho.<br>ex.:<br>If you want to rehash 'scripts/google.tcl' just type:<br>.loadtcl google<br><br>If you get something like '[18:28:57] #De_Kus# loadtcl google' loading was successfull, else you should see the TCL error (if not disabled on console).<br>ex.:<br>.loadtcl idonotexist<br>[18:38:42] Tcl error [loadtcl]: couldn't read file "scripts/idonotexist.tcl": no such file or directory<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri Mar 24, 2006 1:39 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-03-22T11:53:16-04:00</updated>

		<published>2006-03-22T11:53:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61279#p61279</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61279#p61279"/>
		<title type="html"><![CDATA[Testing script before starting eggdrop ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61279#p61279"><![CDATA[
Enclose the code within catch.<div class="codebox"><p>Code: </p><pre><code>catch { #code here}</code></pre></div>and use <strong class="text-strong">.set errorInfo</strong> to see errors.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Wed Mar 22, 2006 11:53 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Danko]]></name></author>
		<updated>2006-03-22T11:35:23-04:00</updated>

		<published>2006-03-22T11:35:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=61276#p61276</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=61276#p61276"/>
		<title type="html"><![CDATA[Testing script before starting eggdrop ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=61276#p61276"><![CDATA[
Is there any way to test a script (that it wont crash the egg etc) ?<br><br>Atm I'm editing script, rehashing eggdrop, editing again, etc etc..<br>This works, but I feel its a waste of time, re-starting the eggdrop every time it crash...... huh..?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7471">Danko</a> — Wed Mar 22, 2006 11:35 am</p><hr />
]]></content>
	</entry>
	</feed>
