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

	<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-10-07T23:21:53-04:00</updated>

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

		<entry>
		<author><name><![CDATA[Wizard]]></name></author>
		<updated>2003-10-07T23:21:53-04:00</updated>

		<published>2003-10-07T23:21:53-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28146#p28146</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28146#p28146"/>
		<title type="html"><![CDATA[Bytez  file server]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28146#p28146"><![CDATA[
hey  look up i posted full code  just add -types f  like example and it works great  <br>stdragon  is  MASTER  <br><br>thanks again<br><br>ps if ya nee more help  i can  send you my compleated script<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3955">Wizard</a> — Tue Oct 07, 2003 11:21 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Bytez]]></name></author>
		<updated>2003-10-07T23:12:54-04:00</updated>

		<published>2003-10-07T23:12:54-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28144#p28144</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28144#p28144"/>
		<title type="html"><![CDATA[Fserv]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28144#p28144"><![CDATA[
How can I make the bot send a file automatically when someone types a trigger, like !newlist  it will send a file to that user who typed it on the channel?  Thanks.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3647">Bytez</a> — Tue Oct 07, 2003 11:12 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wizard]]></name></author>
		<updated>2003-10-06T18:55:51-04:00</updated>

		<published>2003-10-06T18:55:51-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28053#p28053</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28053#p28053"/>
		<title type="html"><![CDATA[Fserv]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28053#p28053"><![CDATA[
stdragon<br>Thank you<br>this line workes perfectly  you have done what many could not.  but  in the 23 + hours i was messing around  the get command  dont <br>work it says its  getting file but dont send ie: !Wizard! get /home/server1/eggdrop/Fserv/07_-_07_Virginia.mp3<br><br>foreach files [glob -nocomplain -types f -directory $fhome *] {<br>bind msg - get getfile<br>bind msg - help fhelp<br>bind pub - !list flist<br><br><br><br>/home/server1/eggdrop/Fserv/02_-_02_Don't_Let_Him_Know.mp3 (2 Mb)<br>/home/server1/eggdrop/Fserv/07_-_07_Virginia.mp3 (3 Mb)<br>Total files: 2<br>  but  it dont show me in status window now  or it dont send file  any idea where to look??<br><br>only asking casue i dont wanna sppend another 20 hours  reading right now<br><br><br>thanks<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3955">Wizard</a> — Mon Oct 06, 2003 6:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[stdragon]]></name></author>
		<updated>2003-10-06T01:01:34-04:00</updated>

		<published>2003-10-06T01:01:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=28009#p28009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=28009#p28009"/>
		<title type="html"><![CDATA[Fserv]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=28009#p28009"><![CDATA[
Just a guess, find this line:<br><br>foreach files [glob -nocomplain f -directory $fhome *] {<br><br>and change it to:<br><br>foreach files [glob -nocomplain -types f -directory $fhome *] {<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8">stdragon</a> — Mon Oct 06, 2003 1:01 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wizard]]></name></author>
		<updated>2003-10-05T10:54:32-04:00</updated>

		<published>2003-10-05T10:54:32-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27976#p27976</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27976#p27976"/>
		<title type="html"><![CDATA[Maybe Easier]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27976#p27976"><![CDATA[
geez   maybe  this make it easier  all i want  is <br><br>!list   trigger<br><br>and have that trigger make up a list.txt of /home/server1/eggdrop/Fsrerv<br><br>geez i getting  delieriouse allready  learning is tough for the first time  heheh   thanks   <br><br>stuborn and determind  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_cool.gif" width="15" height="15" alt="8)" title="Cool"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3955">Wizard</a> — Sun Oct 05, 2003 10:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wizard]]></name></author>
		<updated>2003-10-05T10:45:57-04:00</updated>

		<published>2003-10-05T10:45:57-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27974#p27974</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27974#p27974"/>
		<title type="html"><![CDATA[No one know ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27974#p27974"><![CDATA[
no one know why  this is doing this ? or ami trying to do someting  really hard ?  here is  the code that reading the wrong direcory  Sorry this is kinda long<br><br>## Settings:<br>set fhome /home/server1/eggdrop/Fserv<br>set maxsend 3<br>set maxget 5<br><br>## Temp settings:<br>set csend 0<br>set cget 0<br><br>#### FILESYS MODULE ####<br>loadmodule filesys<br>set files-path $fhome<br>set incoming-path $fhome<br>set upload-to-pwd 0<br>set filedb-path ""<br>set max-file-users $maxsend<br>set max-filesize 0<br><br>#### TRANSFER MODULE ####<br>loadmodule transfer<br>set max-dloads $maxsend<br>set dcc-block 0<br>set copy-to-tmp 1<br>set xfer-timeout 60<br><br>bind msg - get getfile<br>bind msg - help fhelp<br>bind pub - !list getfiles<br><br>proc flist {nick uhost hand argv} {<br>global getfiles $fhome<br>foreach chan [channels] {<br>if [onchan $nick $chan] {<br>putserv "NOTICE @$chan :Beginning DCC Send to $nick ($argv)"<br>}<br>}<br>dccsend $argv $nick<br>}<br><br>proc getfiles {nick uhost hand chan argv} {<br>global fhome<br>set nfiles 0<br>set lfile [open list.txt w]<br>foreach files [glob -nocomplain f -directory $fhome *] {<br>set fsize [file size $files]<br>set unit Bytes<br>if {$fsize &gt; 1024} {<br>set unit Kb<br>set fsize [expr $fsize / 1024]<br>}<br>if {$fsize &gt; 1024} {<br>set unit Mb<br>set fsize [expr $fsize / 1024]<br>}<br>if {$fsize &gt; 1024} {<br>set unit Gb<br>set fsize [expr $fsize / 1024]<br>}<br>incr nfiles<br>puts $lfile "$files ($fsize $unit)"<br>}<br>puts $lfile "Total files: $nfiles"<br>close $lfile<br>unset nfiles<br>dccsend list.txt $nick<br>}<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3955">Wizard</a> — Sun Oct 05, 2003 10:45 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wizard]]></name></author>
		<updated>2003-10-05T08:04:18-04:00</updated>

		<published>2003-10-05T08:04:18-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27969#p27969</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27969#p27969"/>
		<title type="html"><![CDATA[filesystem settings]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27969#p27969"><![CDATA[
#### FILESYSTEM MODULE ####<br><br># This module provides an area within the bot where users can store<br># files. With this module, the bot is usable as a file server. The<br># transfer module is required for this module to function. Un-comment<br># the following line to load the filesys module.<br>loadmodule filesys<br><br># Set here the 'root' directory for the file system.<br>set files-path "/home/server1/eggdrop/Fserv"<br><br># If you want to allow uploads, set this to the directory uploads<br># should be put into. Set this to "" if you don't want people to<br># upload files to your bot.<br>set incoming-path "/home/server1/eggderop/Fserv"<br><br># If you don't want to have a central incoming directory, but instead<br># want uploads to go to the current directory that a user is in, set<br># this setting to 1.<br>set upload-to-pwd 0<br><br># Eggdrop creates a '.filedb' file in each subdirectory of your file area<br># to keep track of its own file system information. If you can't do that (for<br># example, if the dcc path isn't owned by you, or you just don't want it to do<br># that) specify a path here where you'd like all of the database files to be<br># stored instead.<br>set filedb-path "/home/server1/eggdrop/Fserv"<br><br># Set here the maximum number of people that can be in the file area at once.<br># Setting this to 0 makes it effectively infinite.<br>set max-file-users 20<br><br># Set here the maximum allowable file size that will be received (in kb).<br># Setting this to 0 makes it effectively infinite.<br>set max-filesize 1024<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3955">Wizard</a> — Sun Oct 05, 2003 8:04 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[GodOfSuicide]]></name></author>
		<updated>2003-10-05T07:47:10-04:00</updated>

		<published>2003-10-05T07:47:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27968#p27968</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27968#p27968"/>
		<title type="html"><![CDATA[Fserv]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27968#p27968"><![CDATA[
check the filesys entrys in eggdrop.conf<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=1433">GodOfSuicide</a> — Sun Oct 05, 2003 7:47 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Wizard]]></name></author>
		<updated>2003-10-05T07:43:52-04:00</updated>

		<published>2003-10-05T07:43:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=27967#p27967</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=27967#p27967"/>
		<title type="html"><![CDATA[Fserv]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=27967#p27967"><![CDATA[
hello i  finally got my f serv to work  but  when it make a file list when a user types !list  it reads the root dir of eggdrop.  i would like it to read and show the contents of /home/server1/eggdrop/Fserv  but like i said it shows /home/server1/eggdrop i have  chaned everything to pont to the fserv dir as it uploads files there.  i am totally stumped and been reading docs all night it has to be a simple line  Please Help.<br><br>ps. ( i have a feeling its hard codded in the modules to go right to root of eggdrop )<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3955">Wizard</a> — Sun Oct 05, 2003 7:43 am</p><hr />
]]></content>
	</entry>
	</feed>
