mIRC Home    About    Download    Register    News    Help

Print Thread
#28111 04/06/03 05:24 PM
Joined: Jun 2003
Posts: 4
R
rewired Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Jun 2003
Posts: 4
sadly enough, i had no source to post, as i have /no/ idea how abouts to even start this. what i would like to try and find, is something that would take a file, and sort it into a directory starting with just the first letter.

Eg.
rw_mk1d3.rar
would be automatically sorted into
\r\rw_mk1d3.rar

once again, sorry i have no idea on even how to start the code for this, or if mIRC can even go about doing this.

Rewired

Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
/help on filercvd
/help /copy
/help /mkdir
/help $left


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
on *:filercvd:*:{ var %f = $nopath($filename) | if ($isdir($left(%f,1)) { rename $filename $left(%f,1) $+ \ $+ %f } }

Joined: Jun 2003
Posts: 4
R
rewired Offline OP
Self-satisified door
OP Offline
Self-satisified door
R
Joined: Jun 2003
Posts: 4
bah, i should have remembered those.

just getting back into scripting after two years of wasted time (everquest is the debil)

thanks for the help guys!

rewired


Link Copied to Clipboard