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

	<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>2004-05-26T20:23:46-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-05-26T20:23:46-04:00</updated>

		<published>2004-05-26T20:23:46-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36616#p36616</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36616#p36616"/>
		<title type="html"><![CDATA[DCC send]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36616#p36616"><![CDATA[
Using eggdrop as a file server can be a complicated process.  There is already an excellent script wriiten that might make everything easier for you.  You can download jIRCoff <a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=165" class="postlink"> here.</a><br><br>Hope this helps. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed May 26, 2004 8:23 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-26T16:43:06-04:00</updated>

		<published>2004-05-26T16:43:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36614#p36614</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36614#p36614"/>
		<title type="html"><![CDATA[DCC send]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36614#p36614"><![CDATA[
After I have inserted your code. After a spelling of a command! get everyone receive in privat such line DCCSEND games/Quake 3/Quake III Arena.rar spooki! But the file is not sent. How to make that a file it was sent the user, instead of the inscription at all in private was written, what for a file is sent?!  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_redface.gif" width="15" height="15" alt=":oops:" title="Embarassed">  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_mad.gif" width="15" height="15" alt=":x" title="Mad"><p>Statistics: Posted by Guest — Wed May 26, 2004 4:43 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2004-05-26T13:47:43-04:00</updated>

		<published>2004-05-26T13:47:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36612#p36612</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36612#p36612"/>
		<title type="html"><![CDATA[DCC send]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36612#p36612"><![CDATA[
Here's the fixed code:<div class="codebox"><p>Code: </p><pre><code>bind pub - !get getfile proc getfile {nick uhost hand chan argv} { global filesdir foreach chan [channels] { if [onchan $nick $chan] { putserv "NOTICE @$chan :Beginning DCC Send to $nick ($argv)" } } putserv "PRIVMSG $nick :\001DCCSEND\001 $argv $nick"}</code></pre></div>Note the addition of "chan"  in the arguments passed to the proc.  Also note the format of the "dccsend" command. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Wed May 26, 2004 1:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-05-26T10:08:04-04:00</updated>

		<published>2004-05-26T10:08:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=36605#p36605</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=36605#p36605"/>
		<title type="html"><![CDATA[DCC send]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=36605#p36605"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>set filesdir "arhiv/system"####################################################################################################bind pub - !get getfileproc getfile {nick uhost hand argv} {global filesdirforeach chan [channels] {if [onchan $nick $chan] {putserv "NOTICE @$chan :Beginning DCC Send to $nick ($argv)"}}dccsend $argv $nick}####################################################################################################bind pub - !getlist pub:getlistproc pub:getlist {nick uhost handle chan arg} {  global filesdir  if {$arg != ""} { set cdir $filesdir/$arg } else { set cdir $filesdir }  set tdir [pwd]  cd $cdir  foreach fil "[glob *]" {    if {[file isdirectory $fil]} { puthelp "NOTICE $nick :$arg/$fil" }    if {[file isfile $fil]} { puthelp "NOTICE $nick :$arg/$fil (size: [file size $fil] bytes)" }  }  puthelp "NOTICE $nick :end of getlist!"  cd $tdir}</code></pre></div>It's my DCC bot's code. When I want to see the list of files for downloading all well, but when I want download what or the file that is written to me here this inscription <strong class="text-strong"><em class="text-italics"><span style="text-decoration:underline">Tcl error [getfile]: wrong * args: should be " getfile nick uhost hand argv "</span></em></strong> I do not understand in what business. You could not help me. What code should be, that the boat sent a file to the user which requests a file? <br><br>P.S. I very need it ! Sorry for bad English, I'm russian ;-{<p>Statistics: Posted by Guest — Wed May 26, 2004 10:08 am</p><hr />
]]></content>
	</entry>
	</feed>
