mIRC Home    About    Download    Register    News    Help

Print Thread
#94641 18/08/04 05:09 AM
Joined: Jun 2004
Posts: 87
B
Babel fish
OP Offline
Babel fish
B
Joined: Jun 2004
Posts: 87
i want a way so when some1 says @find filename

its search all the files in the directory, even folders and folders inside folders and such,

ive tried $findfile but i dont really understand it so if anyone can help me out that would be great thankyou!

#94642 18/08/04 09:33 AM
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
In this example it will notice the files that match *filename* where filename is what they searched by:

on *:text:@find *:#:{
;; If they provided a valid search query then notice them files in C:\dir - change this to the directory you want them to be able to search through
if ($remove($2,*)) .echo -q $findfile(C:\dir,$+(*,$2-,*),.notice $nick - $nopath($1-))
}


Link Copied to Clipboard