Old posts that have not been replied to for several years.
-
Pitchat
- Op
- Posts: 122
- Joined: Tue Feb 18, 2003 11:24 pm
- Location: Hebertville Quebec Canada
-
Contact:
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 !
-
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.
-
Pitchat
- Op
- Posts: 122
- Joined: Tue Feb 18, 2003 11:24 pm
- Location: Hebertville Quebec Canada
-
Contact:
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
thanks