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

	<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>2009-01-20T07:44:52-04:00</updated>

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

		<entry>
		<author><name><![CDATA[tomekk]]></name></author>
		<updated>2009-01-20T07:44:52-04:00</updated>

		<published>2009-01-20T07:44:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=87021#p87021</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=87021#p87021"/>
		<title type="html"><![CDATA[need help change dcc to pub command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=87021#p87021"><![CDATA[
try:<div class="codebox"><p>Code: </p><pre><code>bind pub -|- chk script_checkproc script_check { nick uhost hand chan arg } { set the_name [lindex [split $arg] 0]if {[catch {uplevel #0 [list source scripts/$the_name.tcl]} error]} { putquick "PRIVMSG $chan :Error While Loading $the_name -- Errormsg: $error" putquick "PRIVMSG $chan :script: $the_name -- ::errorInfo: $::errorInfo" return}putquick "PRIVMSG $chan :script: &lt;$the_name&gt; -- Loaded Without Error.." }putlog "chk-script.tcl loaded"</code></pre></div><blockquote class="uncited"><div>12:43:11 &lt;@tomekk&gt; chk chk-script<br>12:43:13 &lt; botty&gt; script: &lt;chk-script&gt; -- Loaded Without Error..</div></blockquote><blockquote class="uncited"><div>12:43:36 &lt;@tomekk&gt; chk chk-script<br>12:43:36 &lt; botty&gt; Error While Loading chk-script -- Errormsg: invalid command name "}"<br>12:43:36 &lt; botty&gt; script: chk-script -- ::errorInfo: invalid command name "}"</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=10332">tomekk</a> — Tue Jan 20, 2009 7:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[uffs]]></name></author>
		<updated>2009-01-17T01:33:38-04:00</updated>

		<published>2009-01-17T01:33:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=86961#p86961</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=86961#p86961"/>
		<title type="html"><![CDATA[need help change dcc to pub command]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=86961#p86961"><![CDATA[
hi..<br><br>I found small script to check tcl script before we running "rehash" command.. (to known the scripts error or no)<br><br>here's the code<div class="codebox"><p>Code: </p><pre><code>bind dcc n chk script:loadproc script:load { handle idx text } {    if { [catch { uplevel #0 [list source scripts/$text.tcl] } error] } {       putlog "Error While Loading $text -- Errormsg: $error"       putlog "script: $text -- ::errorInfo: $::errorInfo"       return    }    putlog "script: &lt;$text&gt; -- Loaded Without Error.."    return } </code></pre></div>how I make those code so it will be running on public command and display the result on the room chan.<br><br><br>Thanks for your help  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9870">uffs</a> — Sat Jan 17, 2009 1:33 am</p><hr />
]]></content>
	</entry>
	</feed>
