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

	<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-09-05T03:52:45-04:00</updated>

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

		<entry>
		<author><name><![CDATA[TeDDyBeeR]]></name></author>
		<updated>2003-09-05T03:52:45-04:00</updated>

		<published>2003-09-05T03:52:45-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26529#p26529</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26529#p26529"/>
		<title type="html"><![CDATA[help using chatstats.tcl with an windrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26529#p26529"><![CDATA[
Maybe the scritp it only writen for Eggdrops and not for Windrops : but....<br><br>You can try to change the dirnames in the the folowing code you send :<div class="codebox"><p>Code: </p><pre><code>set cs(ftperror) [catch {set cs(ftpclient) [exec which ftp]}]; set cs(rehash) 1if {$cs(ftperror) &amp;&amp; [file executable /usr/bin/ftp]} {set cs(ftpclient) "/usr/bin/ftp"; set cs(ftperror) 0}if {$cs(ftperror) &amp;&amp; [file executable /bin/ftp]} {set cs(ftpclient) "/bin/ftp"; set cs(ftperror) 0}if {$cs(ftperror) &amp;&amp; [info commands auto_execok] != ""} {set cs(ftpclient) [auto_execok ftp]if {$cs(ftpclient) != ""} {set cs(ftperror) 0}}if {$cs(ftperror)} {putlog " Cannot find FTP client."}</code></pre></div>instead of <strong class="text-strong">/bin/ftp</strong> you set <strong class="text-strong">ftp/ftp.exe</strong> (then the FTP.exe must be in &lt;drive&gt;:\windrop\ftp) or <strong class="text-strong">/windows/ftp.exe</strong> ((?) then the file ftp.exe must be in the windows directory)<br><br>it's an idea, i'm not sure of it... i have worked with windrops years ago <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br><br>regards,<br>TeDDyBeeR<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3774">TeDDyBeeR</a> — Fri Sep 05, 2003 3:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2003-09-04T10:39:58-04:00</updated>

		<published>2003-09-04T10:39:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=26478#p26478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=26478#p26478"/>
		<title type="html"><![CDATA[help using chatstats.tcl with an windrop]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=26478#p26478"><![CDATA[
i have downloaded CHATstats.tcl from this site , but i receive an error message from my bot (windrop running on my pc , with a windows 98se)<br>when it's try to use the ftp to upload the html generated by the tcl ...<br><blockquote class="uncited"><div>set cs(ftperror) [catch {set cs(ftpclient) [exec which ftp]}]; set cs(rehash) 1<br> if {$cs(ftperror) &amp;&amp; [file executable /usr/bin/ftp]} {set cs(ftpclient) "/usr/bin/ftp"; set cs(ftperror) 0}<br> if {$cs(ftperror) &amp;&amp; [file executable /bin/ftp]} {set cs(ftpclient) "/bin/ftp"; set cs(ftperror) 0}<br> if {$cs(ftperror) &amp;&amp; [info commands auto_execok] != ""} {<br>  set cs(ftpclient) [auto_execok ftp]<br>  if {$cs(ftpclient) != ""} {set cs(ftperror) 0}<br> }<br> if {$cs(ftperror)} {putlog "            Cannot find FTP client."}</div></blockquote>this is a part of the tcl reffering to ftp , how i change it to use the ftp in windows? i tryed to put ftp.exe at the dir of windrop but it was not usefull<br><br>here is the another line of the tcl <br><blockquote class="uncited"><div>2 {set ftperror [catch {<br>       set ftpid [open "|$cs(ftpclient) -n $cs(ftpname) $cs(ftpport)" w]<br>       puts $ftpid "user $cs(username) $cs(password)"<br>       foreach a $ullist {<br>        if {[file exists $a]} {<br>         puts $ftpid "put $a $cs(ftpfolder)[lindex [split $a "/"] end]"<br>        } else {putlog "CHATstats: Skipped uploading $a, file not found."}<br>       }<br>       puts $ftpid "quit"<br>       close $ftpid<br>      }]<br>      if {$ftperror} {putlog "CHATstats: An error occured while trying to use FTP."}<br>      foreach a $ullist {file delete -force $a}<br>     }<br>  }<br> }</div></blockquote>actually the msg i receive from the bot is "CHATstats: An error occured while trying to use FTP"<br><br>someone help me to edit this to use this tcl in my windows?<br><br>the chatstats.tcl is avaiable on <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=542" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... oad&amp;id=542</a><br><br>thanks<p>Statistics: Posted by Guest — Thu Sep 04, 2003 10:39 am</p><hr />
]]></content>
	</entry>
	</feed>
