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

	<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>2005-10-09T13:26:06-04:00</updated>

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

		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-10-09T13:26:06-04:00</updated>

		<published>2005-10-09T13:26:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56479#p56479</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56479#p56479"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56479#p56479"><![CDATA[
ok good point thanx for ya help<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Sun Oct 09, 2005 1:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-10-09T09:42:40-04:00</updated>

		<published>2005-10-09T09:42:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56478#p56478</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56478#p56478"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56478#p56478"><![CDATA[
But this time you are sending to an eggdrop. Ever thought of the fact that the shell provider has it all firewalled?<br><br>Also, read this section of eggdrop.conf:<blockquote class="uncited"><div>#### FILESYSTEM MODULE ####</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Oct 09, 2005 9:42 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-10-09T09:00:08-04:00</updated>

		<published>2005-10-09T09:00:08-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56476#p56476</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56476#p56476"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56476#p56476"><![CDATA[
well its me its sending to and i dont and never have had a prob with sending or reciveing<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Sun Oct 09, 2005 9:00 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-10-09T07:25:17-04:00</updated>

		<published>2005-10-09T07:25:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56473#p56473</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56473#p56473"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56473#p56473"><![CDATA[
This time it could very well be just firewall/router settings.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Oct 09, 2005 7:25 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-10-09T06:32:59-04:00</updated>

		<published>2005-10-09T06:32:59-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56472#p56472</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56472#p56472"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56472#p56472"><![CDATA[
[11:25am]&lt;Fox-Help&gt; [20:30] Begin DCC send server.setup.txt to DJ-Fox<br>[11:25am]&lt;Fox-Help&gt; [20:30] &lt;&lt;DJ-Fox&gt;&gt; !Dr-Fox! !get server.setup.txt<br>[11:26am]&lt;Fox-Help&gt; [20:30] DCC timeout: GET server.setup.txt (DJ-Fox) at 0/3757<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Sun Oct 09, 2005 6:32 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2005-10-09T06:28:32-04:00</updated>

		<published>2005-10-09T06:28:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56471#p56471</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56471#p56471"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56471#p56471"><![CDATA[
Post the error from your log(s).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Sun Oct 09, 2005 6:28 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-10-09T06:31:06-04:00</updated>

		<published>2005-10-09T06:02:35-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56469#p56469</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56469#p56469"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56469#p56469"><![CDATA[
ok found it and loaded it but it trys to send but fails <br><br>[11:26am] *Fox-Help* Timeout during transfer, aborting server.setup.txt.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Sun Oct 09, 2005 6:02 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-10-09T05:48:17-04:00</updated>

		<published>2005-10-09T05:48:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56468#p56468</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56468#p56468"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56468#p56468"><![CDATA[
thanx m8 but where do i get or find this filesys, sorry prob sounds a dumb question but like i said im all new to this<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Sun Oct 09, 2005 5:48 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2005-10-09T02:56:11-04:00</updated>

		<published>2005-10-09T02:56:11-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56465#p56465</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56465#p56465"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56465#p56465"><![CDATA[
load filesys module before the script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Oct 09, 2005 2:56 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[drfox]]></name></author>
		<updated>2005-10-09T01:55:34-04:00</updated>

		<published>2005-10-09T01:55:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=56464#p56464</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=56464#p56464"/>
		<title type="html"><![CDATA[can someone help me please with fget.tlc]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=56464#p56464"><![CDATA[
hi im new to all this and i have loaded fget on my eggdrop but everytime i try the !get command it says [15:47] Tcl error [GET:pub_get]: invalid command name "dccsend"<br><div class="codebox"><p>Code: </p><pre><code>## File GET v1.2## By mamaKIN (mamakin@mailandnews.com)## Released [12-05-1999]##### Important Notes: ################################ You need to have the transfer module loaded for this to work##### Installation: ################################### 1) Put this file in your script directory## 2) Add the line "source &lt;scripts directory&gt;/fget.tcl" to your bots configuration## 3) Rehash your bot if it is already running or start it up if it is not##### Usage: ########################################## Channel Commands:## !get &lt;filename&gt; - Sends the first matching file to you## !send &lt;nickname&gt; &lt;filename&gt; - Sends the first matching file to the nickname##################################################### SETTINGS ###################################### Where is your file directory?set get_dir "/home/dark/eggdrop/helpfiles/"# Which files/directories should I not search for/in?set get_nfile "incoming readme.txt"# Which channels shall the commands work on?set get_chans "#foxs-triv-and-chat"################################################################# Do not edit below here unless you know what you are doing #################################################################bind pub - !get GET:pub_getbind pub +v|+v !send GET:pub_send2proc filesearch {file dir} {  set file [string tolower $file]  return [searchdat $file $dir]}proc searchdat {file dir} {  if {[string range $dir end end] != "/"} {    append dir "/"  }  set r ""  set l [glob -nocomplain $dir*]  foreach f $l {    if {[file isdirectory $f]} {      set r [concat $r [searchdat $file $f]]    } elseif {[file isfile $f]} {      if {[string tolower [file tail $f]] == $file} {        lappend r $f      }    }  }  return $r}proc chncheck {chan check} {  foreach c $check {    if {$chan == $c} {      return 1    }  }  return 0}proc GET:pub_get {nick host hand chan text} {  global get_dir get_chans get_nfile  if {[chncheck $chan $get_chans]} {    set file [lindex $text 0]    if {![string match "*[string tolower $file]*" "[string tolower [lrange $get_nfile 0 end]]"]} {      set results [filesearch $file $get_dir]    } {      puthelp "NOTICE $nick :Could not send you $file, because the file has been disabled."      return 1    }    if {[llength $results] == 0} {      puthelp "NOTICE $nick :Didn't find any results for $file"    } {      set sent [dccsend [lindex $results 0] $nick]      if {$sent == 0} {        puthelp "NOTICE $nick :Sending you $file"      } elseif {$sent == 1} {        puthelp "NOTICE $nick :DCC Tables are full. Try back in a few minutes."      } elseif {$sent == 2} {        puthelp "NOTICE $nick :For some strange reason the file does not exist."      } elseif {$sent == 4} {        puthelp "NOTICE $nick :Your file was queued for a later transfer."      } else {        puthelp "NOTICE $nick :An undefined error occurred during the transfer."      }    }  }  return 1}proc GET:pub_send2 {nick host hand chan text} {  global get_dir get_chans get_nfile  if {[chncheck $chan $get_chans]} {    set g2nick [lindex $text 0]    set file [lindex $text 1]    if {![string match "*[string tolower $file]*" "[string tolower [lrange $get_nfile 0 end]]"]} {      set results [filesearch $file $get_dir]    } {      puthelp "NOTICE $nick :Could not send you $file, because the file has been disabled."      return 1    }    if {[llength $results] == 0} {      puthelp "NOTICE $nick :Didn't find any results for $file"    } else {      set sent [dccsend [lindex $results 0] $g2nick]      puthelp "NOTICE $g2nick :$nick requested for me to send you $file"      if {$sent == 0} {        puthelp "NOTICE $nick :Sending $g2nick $file"        puthelp "NOTICE $g2nick :Sending you $file"      } elseif {$sent == 1} {        puthelp "NOTICE $g2nick :DCC Tables are full. You cannot receive the file."        puthelp "NOTICE $nick :DCC Tables are full. Could not send $g2nick $file"      } elseif {$sent == 2} {        puthelp "NOTICE $g2nick :For some strange reason the file does not exist."        putserv "NOTICE $nick :The file does not exist."      } elseif {$sent == 3} {        puthelp "NOTICE $nick :Had trouble connecting to $g2nick"      } elseif {$sent == 4} {        puthelp "NOTICE $g2nick :Your file was queued for a later transfer."        puthelp "NOTICE $nick :$file was queued and will be transfered later."      } else {        puthelp "PRIVMSG $nick :An undefined error occurred during the transfer."      }    }  }  return 1}putlog "Loaded \002File GET v1.2\002 by mamaKIN"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6827">drfox</a> — Sun Oct 09, 2005 1:55 am</p><hr />
]]></content>
	</entry>
	</feed>
