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

	<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>2016-09-22T00:12:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Fahad]]></name></author>
		<updated>2016-09-22T00:12:49-04:00</updated>

		<published>2016-09-22T00:12:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=105452#p105452</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=105452#p105452"/>
		<title type="html"><![CDATA[stats-public error]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=105452#p105452"><![CDATA[
( Tcl error [stats_top10]: invalid command name "*pub:!top10" )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12648">Fahad</a> — Thu Sep 22, 2016 12:12 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-08-18T00:01:55-04:00</updated>

		<published>2007-08-18T00:01:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75355#p75355</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75355#p75355"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75355#p75355"><![CDATA[
<blockquote class="uncited"><div>Can I install additional mod with my eggdrop ?</div></blockquote>The answer to this is yes, install the module, carefully and correctly, and don't forget to recompile your eggdrop.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Sat Aug 18, 2007 12:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xbox-kult]]></name></author>
		<updated>2007-08-17T13:31:03-04:00</updated>

		<published>2007-08-17T13:31:03-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75342#p75342</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75342#p75342"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75342#p75342"><![CDATA[
Hello,<br><br>thx for a dl link <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";-)" title="Wink"> i know this mod....<br><br><br>Can I install additional mod with my eggdrop ?<br><br>I have a moment statistic.tcl on channel with my eggdrop. The statistic.tcl I rewrote into German and the expenditure differently arranged as with stats.mod; -)<br><br>Now I would like only the time bring with script statistic.tcl which it under the names to the down load give here<br><br>sliding keyboard shelf in the moment !<br><br>&lt;xbox-kult&gt; windows64bit hat geschrieben: 37 Wörter mit 170 Buchstaben in 28 Zeilen und 0 smilie<br>----------------------<br>hat geschrieben = written<br>Wörter = words<br>Buchstaben = letters<br>Zeilen = lines<br>smilie = smilies<br>-----------------------<br>I can install the mod when the eggdrop just exists ?<br><br>THX and MFG<br><br>sorry my english is not so good <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";-)" title="Wink"> but give my best with sprachtools and to own words<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9237">xbox-kult</a> — Fri Aug 17, 2007 1:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-08-17T10:10:42-04:00</updated>

		<published>2007-08-17T10:10:42-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75339#p75339</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75339#p75339"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75339#p75339"><![CDATA[
<blockquote class="uncited"><div>Adds public commands that display statistics from <strong class="text-strong">stats.mod</strong>. Script is in German.</div></blockquote>I took a "punt" and searched the Tcl Archives.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><br><br>xbox-kult: laden <a href="http://www.kreativrauschen.de/stats.mod/" class="postlink">stats.mod</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Aug 17, 2007 10:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2007-08-17T09:35:25-04:00</updated>

		<published>2007-08-17T09:35:25-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75338#p75338</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75338#p75338"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75338#p75338"><![CDATA[
It would seem this script depends on some other stats-script, and simply operates as a public interface. The reason it fails, is most likely that you hav'nt loaded the script/module it depends on (and no, I do not know which script/module that would be, or where you can get it).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Fri Aug 17, 2007 9:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2007-08-17T09:32:36-04:00</updated>

		<published>2007-08-17T09:32:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75337#p75337</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75337#p75337"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75337#p75337"><![CDATA[
Oh dear, an online language translator used here.  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_lol.gif" width="15" height="15" alt=":lol:" title="Laughing"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Fri Aug 17, 2007 9:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xbox-kult]]></name></author>
		<updated>2007-08-17T09:20:13-04:00</updated>

		<published>2007-08-17T09:20:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75336#p75336</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75336#p75336"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75336#p75336"><![CDATA[
OK ! <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";-)" title="Wink"> <br><br><br>Hello,<br><br>ok has stats puplic file times one ferund sent and it says script can run correctly/and/or does not run in such a way it so not except only error comes unfortunate by it the mine egg is already installed can I later none mod insert…<br><br>…. or goes there nevertheless still which?<br><br>evnetuell again someone can stats puplic.tcl look at itself and make functional because I in such a way to find script good.<br><br>I deceive which the usability concern myself became I me over the correct installation aneitung freuene and/or which must be changed or caused<br><br>MFG<br><div class="codebox"><p>Code: </p><pre><code>#################### stats-public.tcl ############################## Ein schönes TCL was dazu dient um das Stats.mod über## Channelbefehle zu steuern.#### Diese Befehle stehen allen Moderatoren und Operatoren## zu verfügung.#### Settings:## Statistik Befehle## ein: !stats +cmd &lt;top10|ttop10|top20|ttop20|stat|tstat|place|tplace|all&gt;## aus: !stats -cmd &lt;top10|ttop10|top20|ttop20|stat|tstat|place|tplace|all&gt;#### User ausschließen von der Channel-Statistik## ein: !stats +user &lt;nick&gt;## aus: !stats -user &lt;nick&gt;#### User zurücksetzen (resetuser)## reset: !stats reset &lt;nick&gt;###### viel spaß damit## ©2002-2003 by  BlackDeath################### stats-public.tcl ##############################catch "unbind pub - !top10 *pub:!top10"catch "unbind pub - !ttop10 *pub:!ttop10"catch "unbind pub - !top20 *pub:!top20"catch "unbind pub - !ttop20 *pub:!ttop20"catch "unbind pub - !stat *pub:!stat"catch "unbind pub - !tstat *pub:!tstat"catch "unbind pub - !place *pub:!place"catch "unbind pub - !tplace *pub:!tplace"catch "unbind pub - !wordstats *pub:!wordstats"catch "unbind pub - !topwords *pub:!topwords"bind pub - !top10 stats_top10bind pub - !ttop10 stats_ttop10bind pub - !top20 stats_top20bind pub - !ttop20 stats_ttop20bind pub - !stat stats_statbind pub - !tstat stats_tstatbind pub - !place stats_placebind pub - !tplace stats_tplacebind pub - !wordstats stats_wordstatsbind pub - !topwords stats_topwordsproc stats_top10 {nick uhost hand chan rest} {if {[stats_cmd "top10" $chan]} {*pub:!top10 $nick $uhost $hand $chan $rest}}proc stats_ttop10 {nick uhost hand chan rest} {if {[stats_cmd "ttop10" $chan]} {*pub:!ttop10 $nick $uhost $hand $chan $rest}}proc stats_top20 {nick uhost hand chan rest} {if {[stats_cmd "top20" $chan]} {*pub:!top20 $nick $uhost $hand $chan $rest}}proc stats_ttop20 {nick uhost hand chan rest} {if {[stats_cmd "ttop20" $chan]} {*pub:!ttop20 $nick $uhost $hand $chan $rest}}proc stats_stat {nick uhost hand chan rest} {if {[stats_cmd "stat" $chan]} {*pub:!stat $nick $uhost $hand $chan $rest}}proc stats_tstat {nick uhost hand chan rest} {if {[stats_cmd "tstat" $chan]} {*pub:!tstat $nick $uhost $hand $chan $rest}}proc stats_place {nick uhost hand chan rest} {if {[stats_cmd "place" $chan]} {*pub:!place $nick $uhost $hand $chan $rest}}proc stats_tplace {nick uhost hand chan rest} {if {[stats_cmd "tplace" $chan]} {*pub:!tplace $nick $uhost $hand $chan $rest}}proc stats_wordstats {nick uhost hand chan rest} {if {[stats_cmd "wordstats" $chan]} {*pub:!wordstats $nick $uhost $hand $chan $rest}}proc stats_topwords {nick uhost hand chan rest} {if {[stats_cmd "topwords" $chan]} {*pub:!topwords $nick $uhost $hand $chan $rest}}set stats_commands {top10 ttop10 top20 ttop20 stat tstat place tplace wordstats topwords}proc stats_cmd {cmd chan} {global stats_cmdstats_cmd_load $chanset cmd [string tolower $cmd]if {[info exists stats_cmd($chan,$cmd)]} {return $stats_cmd($chan,$cmd)} else {return true}}proc stats_cmd_load {chan} {global stats_cmdglobal stats_commandsif {[info exists stats_cmd($chan,-loaded-)]} { return }set filename [string tolower $chan]set filename "statscom.cmd"catch {set f [open $filename r]while {[gets $f line] &gt;= 0} {set switch [string range $line 0 0]set cmd [string tolower [string range $line 1 end]]set idx [lsearch $stats_commands $cmd]if {$idx &gt;= 0} {switch -- $switch {"+" {set stats_cmd($chan,$cmd) true}"-" {set stats_cmd($chan,$cmd) false}}}}close $f} respset stats_cmd($chan,-loaded-) ""}proc stats_cmd_save {chan} {global stats_cmdglobal stats_commandsset filename [string tolower $chan]set filename "statscom.cmd"catch {set f [open $filename w]foreach cmd [split $stats_commands] {set cmd [string tolower $cmd]set opt "+"if {[info exists stats_cmd($chan,$cmd)]} {if {$stats_cmd($chan,$cmd)} {set opt "+"} else {set opt "-"}}puts $f "${opt}${cmd}"}close $f}}bind pub - !stats stats_switchbind bot - "stats-user" stats_bot_userproc stats_schattr {nick user opt} {if {$opt} {set opt "+list"set opt_str "ein"} else {set opt "-list"set opt_str "aus"}catch {set dcclist [dcclist TELNET]set dcc [lindex $dcclist 0]set xtra [lindex $dcc 4]set port [lindex $xtra 1]set idx [connect localhost $port]set hdl [idx2hand $idx]catch { *dcc:schattr $hdl $idx "$user $opt" } resultafter 1killdcc $idxif {$result != "0"} {return $result}} resultif {$result == ""} {puthelp "NOTICE $nick :Anzeigen der Statistiken für Benutzer $user in allen Räumen ${opt_str}geschaltet"putlog "modpub.tcl: $nick changes $user to $opt"} else {puthelp "NOTICE $nick :Fehler beim Umschalten des Statistiken: $result"}return}proc stats_switch_cmd {nick chan cmd opt} {global stats_cmdglobal stats_commandsstats_cmd_load $chanif {$opt} {set opt_str "ein"} else {set opt_str "aus"}if {[string tolower $cmd] == "all"} {foreach cmd [split $stats_commands] {set cmd [string tolower $cmd ]set stats_cmd($chan,$cmd) $opt}puthelp "NOTICE $nick :Alle Befehle im Raum $chan ${opt_str}geschaltet"stats_cmd_save $chanreturn}set cmd [string tolower $cmd]set idx [lsearch $stats_commands $cmd]if {$idx == -1} {puthelp "NOTICE $nick :Falscher Befehl \"$cmd\""return}set stats_cmd($chan,$cmd) $optputhelp "NOTICE $nick :Der Befehl \"$cmd\" im Raum $chan ${opt_str}geschaltet"stats_cmd_save $chanreturn}proc stats_bot_user {from command arg} {# what are the parametersset cmd [split $arg]set nick [lindex $cmd 0]set user [lindex $cmd 1]set opt [lindex $cmd 2]# do the workstats_schattr $nick $user $opt}proc stats_switch_user {nick user opt} {# inform other bots# do it yourselt, toostats_schattr $nick $user $optreturn 0}proc stats_reset_user {nick chan opt} {resetuser $opt $chanputhelp "NOTICE $nick :Statistiken des Benutzers $opt wurden im Raum $chan zurückgesetzt"}proc stats_switch {nick uhost hand chan rest} {if {![isvoice $nick $chan] &amp;&amp; ![isop $nick $chan]} {puthelp "NOTICE $nick :Dieser Befehl ist nur für Moderatoren"return 0}set lrest [split $rest]set cmd [lindex $lrest 0]set arg [lindex $lrest 1]switch -exact -- $cmd {+cmd { stats_switch_cmd $nick $chan $arg true }-cmd { stats_switch_cmd $nick $chan $arg false }reset { stats_reset_user $nick $chan $arg }+user { stats_switch_user $nick $arg true }-user { stats_switch_user $nick $arg false }}}putlog "stats-public.tcl by BlackDeath loaded..."</code></pre></div>The script download on here !<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9237">xbox-kult</a> — Fri Aug 17, 2007 9:20 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[YooHoo]]></name></author>
		<updated>2007-08-17T01:01:22-04:00</updated>

		<published>2007-08-17T01:01:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75331#p75331</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75331#p75331"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75331#p75331"><![CDATA[
sorry, I don't speak german, but it seems that the procedure <strong class="text-strong">stats_stat</strong> is erroring, so why don't you copy/paste that proc here so we can see it<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2706">YooHoo</a> — Fri Aug 17, 2007 1:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xbox-kult]]></name></author>
		<updated>2007-08-16T17:15:31-04:00</updated>

		<published>2007-08-16T17:15:31-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75320#p75320</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75320#p75320"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75320#p75320"><![CDATA[
Hallo,<br><br>ok habe das stats-puplic datei mal einen ferund gesendet und er sagt das script kann so garnicht richtig laufen / bzw läuft es so garnicht ausser das nur fehler kommen schade dadurch das mein egg ja schon installiert ist kann ich ja nachträglich keine mod einbauen...<br><br>.....oder geht da doch noch was ?<br><br>evnetuell kann sich ja nochmal jemand das stats-puplic.tcl anschauen und funktionstüchtig machen weil so würde ich das script gut finden.<br><br>täusche ich mich was die benutzbarkeit angeht würde ich mich über die korrekte installations aneitung freuene bzw was geändert oder zugefügt werden muss<br><br>MFG<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9237">xbox-kult</a> — Thu Aug 16, 2007 5:15 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[xbox-kult]]></name></author>
		<updated>2007-08-16T16:34:17-04:00</updated>

		<published>2007-08-16T16:34:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=75319#p75319</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=75319#p75319"/>
		<title type="html"><![CDATA[statspublic problem !]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=75319#p75319"><![CDATA[
Hallo / Hello,<br><br>habe ein Problem bei dem script statspublic.tcl alles soweit eingericht und auch die die befehle per +cmd zugelassen.<br><br>Wenn ich jetzt ein befehl testen möchte bekomme ich folgenes in der Partyline:<br><br> [22:04] Tcl error [stats_stat]: invalid command name "*pub:!stat"<br><br>habe ich irgendwas vergessen oder was könnte der fehler sein ! <br><br>THX und MFG<br><br>Hallo / Hello,<br><br>a problem with script statspublic.tcl everything has so far in court and also those instructs by +cmd certified.<br><br>If I an instruction to now test would like get I folgenes in the party LINE:<br><br> [22:04] Tcl error [stats_stat]: invalid command name "*pub:!stat"<br><br>I forgot something or which the error could be!<br><br>THX und MFG<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9237">xbox-kult</a> — Thu Aug 16, 2007 4:34 pm</p><hr />
]]></content>
	</entry>
	</feed>
