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

	<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-03-02T13:55:22-04:00</updated>

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

		<entry>
		<author><name><![CDATA[CrazyCat]]></name></author>
		<updated>2004-03-02T13:55:22-04:00</updated>

		<published>2004-03-02T13:55:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34155#p34155</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34155#p34155"/>
		<title type="html"><![CDATA[file server script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34155#p34155"><![CDATA[
this script is just DCC sending a file.<br>So you can edit the name/path of each file, or use this script as an exemple.<br>Why don't try something like:<div class="codebox"><p>Code: </p><pre><code>set mypath "/home/you/shared/"set myfile [getfiles $mypath]bind pub - !list ftp:listbind pub - !send ftp:sendproc ftp:list { nick uhost handle chan args } {   putserv "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>I don't verify this code, but it may work <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=691">CrazyCat</a> — Tue Mar 02, 2004 1:55 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Anonymous]]></name></author>
		<updated>2004-03-02T07:06:41-04:00</updated>

		<published>2004-03-02T07:06:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=34144#p34144</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=34144#p34144"/>
		<title type="html"><![CDATA[file server script]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=34144#p34144"><![CDATA[
I dl the file server tcl script but dunno how to edit.. Or it dun even need to edit?? Anyone can help?<br><br>This is the script:<br>bind pubm - "% !list" pub_list<br>bind pubm - "% !index" pub_index<br>bind pubm - "% !kickgate" pub_kickgate<br>bind pubm - "% !warftp" pub_warftp<br>bind pubm - "% !ircscript" pub_mirc<br>bind pubm - "% !webferret" pub_webferret<br>bind pubm - "% !amovie" pub_amovie<br><br>proc pub_list {nick uhost hand channel args} {<br>global botnick<br>putserv "PRIVMSG $channel :These are the files you can download from $botnick:" <br>putserv "PRIVMSG $channel :!index - !kickgate - !warftp"<br>putserv "PRIVMSG $channel :!ircscript - !webferret - !amovie"<br>}<br><br>proc pub_index {nick uhost hand channel args} {<br>dccsend /home/samba/index.txt $nick<br>}<br><br>proc pub_kickgate {nick uhost hand channel args} {<br>dccsend /home/samba/kickgate.tar $nick<br>}<br><br>proc pub_warftp {nick uhost hand channel args} {<br>dccsend /home/samba/warftp.exe $nick<br>}<br><br>proc pub_mirc {nick uhost hand channel args} {<br>dccsend /home/samba/cmirc.zip $nick<br>}<br><br>proc pub_webferret {nick uhost hand channel args} {<br>dccsend /home/samba/webferret.exe $nick<br>}<br><br>proc pub_amovie {nick uhost hand channel args} {<br>dccsend /home/samba/Amovie.exe $nick<br>}<br><br>putlog "Fileserver By: Kim Andre Norheim"<p>Statistics: Posted by Guest — Tue Mar 02, 2004 7:06 am</p><hr />
]]></content>
	</entry>
	</feed>
