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

	<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>2008-04-13T09:50:51-04:00</updated>

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

		<entry>
		<author><name><![CDATA[offndr]]></name></author>
		<updated>2008-04-13T09:50:51-04:00</updated>

		<published>2008-04-13T09:50:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=82290#p82290</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=82290#p82290"/>
		<title type="html"><![CDATA[chatstat error when generating htm]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=82290#p82290"><![CDATA[
hi<br><br>I am loading the script ChatStats 3.1.2 by Baerchen, February 2002 for eggdrop 1.4.5+ &amp; TCL 8.3.<br><br>Everything works fine but not when I do .update and will not make new htm pages anymore. I get the following error :<br><br>[15:30] Tcl error in script for 'timer1636983':<br>[15:30] wrong # args: should be "topic nick host hand chan text"<br><br>what could be wrong?<br><br>the proc is:<br>proc cs:update {h idx a} {<br> global cs<br> set c [string tolower $a]; set l ""<br> foreach e [binds cs:count] {<br>  regexp {#.*?\s} $e e<br>  set e [string trim $e]<br>  cs:cv $e<br>  if {$cs(update)} {<br>   if {![validchan $e] || ![botonchan $e]} {putdcc $idx "I'm not on $e."; continue}<br>   lappend l $e<br>  }<br> }<br> if {[llength $l] == 0} {putdcc $idx "No channel is configured to have webpages."; return} else {set l [lsort $l]}<br> if {$c == ""} {<br>  foreach e $l {<br>   cs:cv $e<br>   foreach el [timers] {if {[string match "*cs:html $e*" $el]} {killtimer [lindex $el 2]}}<br>   set cs(manual) "$idx Successfully updated webpages for $e"<br>   cs:html $e<br>  }<br> } else {<br>  cs:cv $c<br>  if {![validchan $c] || ![botonchan $c]} {putdcc $idx "I'm not on $c."; return}<br>  if {[lsearch $l $c] == -1} {putdcc $idx "CHATstats is not enabled in $c"; return}<br>  if {$cs(update)} {<br>   foreach e [timers] {<br>    if {[string match "*cs:html $c*" $e]} {killtimer [lindex $e 2]}<br>   }<br>   set cs(manual) "$idx Successfully updated webpages for $c"; cs:html $c<br>  } else {putdcc $idx "Configuration does not allow webpages for $c"}<br> }<br>}<br><br>plz someone help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5859">offndr</a> — Sun Apr 13, 2008 9:50 am</p><hr />
]]></content>
	</entry>
	</feed>
