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

	<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>2003-04-27T16:59:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[MC_8]]></name></author>
		<updated>2003-04-27T16:59:51-04:00</updated>

		<published>2003-04-27T16:59:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19530#p19530</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19530#p19530"/>
		<title type="html"><![CDATA[Tcl error [pub:news]: invalid command name &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19530#p19530"><![CDATA[
How does putlog work?  Umm, it puts information to the 'o' dcc console.<br>See tcl-commands.doc for a better explination.<br><br>Basically, if you have<div class="codebox"><p>Code: </p><pre><code>bla1putlog "checkpoint 1"bla2putlog "checkpoint 2"bla3putlog "checkpoint 3"</code></pre></div>And in DCC it shows:<br>checkpoint 1<br>checkpoint 2<br>ERROR ...<br><br>We know the error is a line between 2 and 3.  2 was the last displayed... so the error is "bla3".  Once you figure out what line the error is in, you can find it easier :)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3080">MC_8</a> — Sun Apr 27, 2003 4:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2003-04-27T16:59:32-04:00</updated>

		<published>2003-04-27T16:59:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19529#p19529</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19529#p19529"/>
		<title type="html"><![CDATA[Tcl error [pub:news]: invalid command name &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19529#p19529"><![CDATA[
How does what work?<br>Don't tell me you wrote this script when you don't know what putlog is or know how to find out (hint: tcl-commands.doc)<br><br>You did not show us the entire error message btw...maybe we would be able to tell you more if you did.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Sun Apr 27, 2003 4:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-27T16:26:55-04:00</updated>

		<published>2003-04-27T16:26:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19527#p19527</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19527#p19527"/>
		<title type="html"><![CDATA[Tcl error [pub:news]: invalid command name &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19527#p19527"><![CDATA[
how does it works ? :/<p>Statistics: Posted by Guest — Sun Apr 27, 2003 4:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MC_8]]></name></author>
		<updated>2003-04-27T13:59:28-04:00</updated>

		<published>2003-04-27T13:59:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19520#p19520</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19520#p19520"/>
		<title type="html"><![CDATA[Tcl error [pub:news]: invalid command name &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19520#p19520"><![CDATA[
Find out what line is giving the error.<br>Throw some <strong class="text-strong">putlog "Got this far, continuing..."</strong>'s at every other line to see where it stops.  This will help you narrow it down.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3080">MC_8</a> — Sun Apr 27, 2003 1:59 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-04-27T13:20:27-04:00</updated>

		<published>2003-04-27T13:20:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=19518#p19518</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=19518#p19518"/>
		<title type="html"><![CDATA[Tcl error [pub:news]: invalid command name &quot;&quot;]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=19518#p19518"><![CDATA[
hi, i cant find the error, plz help me <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_sad.gif" width="15" height="15" alt=":(" title="Sad"><br><div class="codebox"><p>Code: </p><pre><code>bind pub - !news pub:newsproc pub:news { nick user handle channel arg  } {    set url http://www.incorruptible.de/irc/irc_news.php    set tag news    set file news.tmp    put_cpu $url $tag $file $channel}proc put_cpu { url tag file channel } {    if { $channel!="#ic.news" &amp;&amp;$channel!="#incorruptible.intern" } { return 1 }    exec lynx -preparsed -dump $url &gt; $file    set f [open "$file" r]    set first 1    set tmp ""    while { [eof $f] != 1 } {set l "[gets $f]"set tmp "$tmp$l"if { [string first &lt;/$tag&gt; $tmp] != -1  } {    set out "[string range $tmp [expr [string first &lt;$tag&gt; $tmp] + [string length $tag] + 2 ] [expr [string first &lt;/$tag&gt; $tmp] -1 ]]"    set out [fulltrim $out]    if { $first == "1" } {putquick "PRIVMSG $channel :\003$out"set first 0    } else {putquick "PRIVMSG $channel :\003[string range $out 0 0]\003[string range $out 1 [string length $out]]"    }    set tmp "[string range $tmp [expr [string first &lt;/$tag&gt; $tmp] + [string length $tag] + 3 ] [string length $tmp] ]"}    }    close $f}proc fulltrim { tmp  } {    while { [string first "  " $tmp] != -1  } {regsub -all "  " $tmp " " tmp    }    return [string trim $tmp]}putlog "News 1.0 Loaded"</code></pre></div>on type "!news", telnet prints "Tcl error [pub:news]: invalid command name """<br><br>- chmod is 777 on news.tmp<br>- the url works fine<br>- lynx works<br>- news.tmp was writed<br><br>cu<p>Statistics: Posted by Guest — Sun Apr 27, 2003 1:20 pm</p><hr />
]]></content>
	</entry>
	</feed>
