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

	<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-08-17T10:19:00-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-08-17T10:19:00-04:00</updated>

		<published>2005-08-17T10:19:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54382#p54382</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54382#p54382"/>
		<title type="html"><![CDATA[&quot;invalid command name &quot;sumuser&quot;&quot; why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54382#p54382"><![CDATA[
if you have some C experience you might be able to copy the dcc command as tcl command.<br>the C &lt;-&gt; TCL commands are defined in tclstats.c line 174, the dcc command sumuser is in dcccmds.c on line 62.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed Aug 17, 2005 10:19 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-17T00:38:49-04:00</updated>

		<published>2005-08-17T00:38:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54363#p54363</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54363#p54363"/>
		<title type="html"><![CDATA[&quot;invalid command name &quot;sumuser&quot;&quot; why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54363#p54363"><![CDATA[
<em class="text-italics">.sumuser</em> can be implemented with [getstats] and [incrstats] (however I don't see Tcl command for deleting user from stats database, at least there's no such thing in stats.mod's README)<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Wed Aug 17, 2005 12:38 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2005-08-15T20:08:24-04:00</updated>

		<published>2005-08-15T20:08:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54315#p54315</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54315#p54315"/>
		<title type="html"><![CDATA[&quot;invalid command name &quot;sumuser&quot;&quot; why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54315#p54315"><![CDATA[
Show us the proc of the dcc command sumuser then we can help create the proc sumuser to be used as a Tcl command.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Mon Aug 15, 2005 8:08 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MrAnderson]]></name></author>
		<updated>2005-08-15T19:34:05-04:00</updated>

		<published>2005-08-15T19:34:05-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54314#p54314</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54314#p54314"/>
		<title type="html"><![CDATA[&quot;invalid command name &quot;sumuser&quot;&quot; why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54314#p54314"><![CDATA[
ok, tks<br><br>but is stange, some commands, like resetuser and other, be a tcl command, and works fine, but sumuser not.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5360">MrAnderson</a> — Mon Aug 15, 2005 7:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-15T18:57:37-04:00</updated>

		<published>2005-08-15T18:57:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54313#p54313</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54313#p54313"/>
		<title type="html"><![CDATA[&quot;invalid command name &quot;sumuser&quot;&quot; why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54313#p54313"><![CDATA[
it obviously is<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Aug 15, 2005 6:57 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MrAnderson]]></name></author>
		<updated>2005-08-15T18:30:30-04:00</updated>

		<published>2005-08-15T18:30:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54311#p54311</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54311#p54311"/>
		<title type="html"><![CDATA[&quot;invalid command name &quot;sumuser&quot;&quot; why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54311#p54311"><![CDATA[
<blockquote class="uncited"><div><em class="text-italics">sumuser</em> is dcc command, not Tcl command</div></blockquote>ok, but this code for exemple: <br><div class="codebox"><p>Code: </p><pre><code>proc pub:reset {nick uhost hand chan text} {set addnick [lindex $text 0]if {![matchattr $nick o} {putserv "NOTICE $nick :No access"; return 0} elseif { ![validuser $addnick]} {putserv "NOTICE $nick : ERROR: Invalid user ( $addnick )"; return 0} else {resetuser $addnick $chanputserv "NOTICE $nick : the stats from $addnick was reset in $chan"}}</code></pre></div><br>works fine, and resetuser is not a tcl command ?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5360">MrAnderson</a> — Mon Aug 15, 2005 6:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-08-15T18:24:00-04:00</updated>

		<published>2005-08-15T18:24:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54309#p54309</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54309#p54309"/>
		<title type="html"><![CDATA[&quot;invalid command name &quot;sumuser&quot;&quot; why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54309#p54309"><![CDATA[
<em class="text-italics">sumuser</em> is dcc command, not Tcl command<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Mon Aug 15, 2005 6:24 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[MrAnderson]]></name></author>
		<updated>2005-08-15T18:04:49-04:00</updated>

		<published>2005-08-15T18:04:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=54308#p54308</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=54308#p54308"/>
		<title type="html"><![CDATA[&quot;invalid command name &quot;sumuser&quot;&quot; why?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=54308#p54308"><![CDATA[
hello<br><br>hi have a problem with this code:<div class="codebox"><p>Code: </p><pre><code>bind pub - !transferir pub:transferirproc pub:transferir {nick uhost hand chan text} {set cromo1 [lindex $text 0]set cromo2 [lindex $text 1]set resto [lindex $text 2]if {![matchattr $nick o]} {putserv "NOTICE $nick :No access!"; return 0}if {$resto != "" || $cromo2 == ""} {putserv "NOTICE $nick : make: !transferir &lt;nick1&gt; &lt;nick2&gt;"; return 0} elseif {[matchattr $cromo2 o] || ![validuser $cromo1] || ![validuser $cromo2] } {putserv "NOTICE $nick : ERRO: protech user / invalid user ";return 0} else {sumuser $cromo1 $cromo2putserv "NOTICE $nick : Done"}}</code></pre></div>this is the error: <br> [21:43] Tcl error [pub:transferir]: invalid command name "sumuser"<br> and the ideia is to do this:<br><br>### sumuser &lt;user1&gt; &lt;user2&gt;<br>transfers all stats from user2 to user1 and deletes user2<br> ( stats.mod )<br><br>but, if i do the sumuser in the party line, we work's fine<br><br>(09:26:27pm) (vOdKa^Dj) .sumuser xblue oriety<br>(09:26:27pm) (Acessivel) Transferred stats from oriety to xblue and deleted oriety<br><br>hi have a tcl similar to this one, but whit "resetuser" and works fine<br>i not inderstand way this "sumuser" is only reconhece in the pary line and not outside, like the " resetsuser " and other's.<br><br>ty<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5360">MrAnderson</a> — Mon Aug 15, 2005 6:04 pm</p><hr />
]]></content>
	</entry>
	</feed>
