This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

eggdrop filesys

Old posts that have not been replied to for several years.
Locked
P
Pitchat
Op
Posts: 122
Joined: Tue Feb 18, 2003 11:24 pm
Location: Hebertville Quebec Canada
Contact:

eggdrop filesys

Post by Pitchat »

is there a way to "dispatch " files who are sent to the eggdrop to a directory according to the file extention ?

example : files finishing with .mp3 goes to /dir/mp3
with .txt goes to /dir/txt and so on ?

thanks
maybe i`m dumb , but i`m smart enough to realize it ! :lol:
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Yes.

There is a RECV bind that can be used to detect upload completion.

This and a combination of the filesys commands provided in Tcl, and you can move the files about.
P
Pitchat
Op
Posts: 122
Joined: Tue Feb 18, 2003 11:24 pm
Location: Hebertville Quebec Canada
Contact:

eggdrop filesys

Post by Pitchat »

can you write me down a little exemple of what this bind will look like ?

since i`m a new tcl addict exemple from the masters are useful :P

thanks
Locked