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

	<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>2021-09-03T02:52:26-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2021-09-03T02:52:26-04:00</updated>

		<published>2021-09-03T02:52:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110288#p110288</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110288#p110288"/>
		<title type="html"><![CDATA[DCC file transfer script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110288#p110288"><![CDATA[
I think the getfiles* doesn't return exactly what is needed, probably you must change it with a glob<br><br>* a list of files in the directory given; the directory is relative to dcc-path<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=691">CrazyCat</a> — Fri Sep 03, 2021 2:52 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ComputerTech]]></name></author>
		<updated>2021-09-02T21:22:28-04:00</updated>

		<published>2021-09-02T21:22:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=110287#p110287</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=110287#p110287"/>
		<title type="html"><![CDATA[DCC file transfer script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=110287#p110287"><![CDATA[
Hiya, so i found this old script from this forum made by CrazyCat back in 2004(old ikr?), however i can't get it to work, here's the code<div class="codebox"><p>Code: </p><pre><code>set mypath "/home/computertech/tech/filesys/foo/"set myfile [getfiles $mypath]bind pub - !list ftp:listbind pub - !send ftp:sendproc ftp:list { nick uhost handle chan args } {global myfileputserv "privmsg $nick :type !send &lt;file&gt;"putserv "privmsg $nick :with &lt;file&gt; in $myfile"}proc ftp:send {nick uhost handle chan args} {set file [concat $::mypath [lindex $args 0]]if {![file exists $file] } {putserv "privmsg $nick :This file doesn't exist"return 0} else {dccsend $file $nick}}</code></pre></div>From this <a href="http://forum.egghelp.org/viewtopic.php?t=6971&amp;highlight=dcc" class="postlink">Page</a><br><br>And i get this when i do !list<div class="codebox"><p>Code: </p><pre><code>18&lt;Tech&gt; type !send &lt;file&gt;18&lt;Tech&gt; with &lt;file&gt; in </code></pre></div>Thanks in advanced  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=":wink:" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=12849">ComputerTech</a> — Thu Sep 02, 2021 9:22 pm</p><hr />
]]></content>
	</entry>
	</feed>
