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

	<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>2005-06-12T16:02:24-04:00</updated>

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

		<entry>
		<author><name><![CDATA[ex]]></name></author>
		<updated>2005-06-12T16:02:24-04:00</updated>

		<published>2005-06-12T16:02:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=50660#p50660</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=50660#p50660"/>
		<title type="html"><![CDATA[get procname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=50660#p50660"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set procname [lindex [info level 0] 0]</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6242">ex</a> — Sun Jun 12, 2005 4:02 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-03T04:21:06-04:00</updated>

		<published>2005-05-03T04:21:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48930#p48930</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48930#p48930"/>
		<title type="html"><![CDATA[get procname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48930#p48930"><![CDATA[
why dont you use catch? you can get a detailed errorInfo like that:<br><br>if { [catch {procname params} err] } {<br>   puthelp "NOTICE nick :$err"<br>   putlog $errorInfo<br>}<br><br>err will contain the 1 line error from the proc, errorInfo will contain the multi-line trace back of the error with whole "invoked within on line x" thing. Both catch and errorInfo should contain the procname which caused the error.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Tue May 03, 2005 4:21 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[sKy]]></name></author>
		<updated>2005-05-02T20:04:16-04:00</updated>

		<published>2005-05-02T20:04:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48924#p48924</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48924#p48924"/>
		<title type="html"><![CDATA[get procname]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48924#p48924"><![CDATA[
Is it possible to make a new command like<br><br>[procname]<br>which will return me the name of the actual proc.<br>like: set procname [procname]<br><br>I tryed to make such a proc which will return this while invoke a errormessage (and catch this) and then split $::errorInfo.<br>but i don`t get it to work.<br><br>Maybe there is an easyer way like a simple tcl command which i don`t know. please let me know <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6101">sKy</a> — Mon May 02, 2005 8:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
