List files
mIRC Code
+ 0 likes
Please Register to submit score.
| Average Score | 0.0 (of 0 scores) |
| Date Added | Sep 12, 2007 |
| Last Updated | Sep 12, 2007 |
Introduction
Usage:
/dirlist_ (directory) list (txtfiles,inifiles,(or enter a type of file using the format: .dat [as an example].))
mIRC Snippet:
List files
Posted on Sep 12, 2007 2:44 pm
Posted on Sep 12, 2007 2:44 pm
| Quote: |
| $isdir(dirname) Returns $true if the specified directory exists, otherwise $false. |
mIRC Snippet:
List files
Posted on Sep 12, 2007 2:56 pm
Posted on Sep 12, 2007 2:56 pm
Yes it does. On the contrary, this snippet returns the file in a specified directory. That covers if the directory is true. As said in the intro, this is a more advanced version of $findfile.
mIRC Snippet:
List files
Posted on Sep 12, 2007 2:57 pm
Posted on Sep 12, 2007 2:57 pm
Also, there is $isfile and $exists.
mIRC Snippet:
List files
Posted on Sep 12, 2007 3:07 pm
Posted on Sep 12, 2007 3:07 pm
Alrighty, I edited the snippet.I just decided to make it a file list. Thank you xDaeMoN and kerstt for your feedback.
mIRC Snippet:
List files
Posted on Sep 12, 2007 5:18 pm
Posted on Sep 12, 2007 5:18 pm
*updated:
added the option to run the selected file on a double-click
added the option to run the selected file on a double-click
mIRC Snippet:
List files
Posted on Sep 14, 2007 5:43 pm
Posted on Sep 14, 2007 5:43 pm
Effective and clean. On the contrary, it's pretty simple. I recommend adding the option to delete the file. /remove should do the trick. I probably would give this a 5/10 if I had the option to rate snippets.
mIRC Snippet:
List files
Posted on Sep 14, 2007 6:18 pm
Posted on Sep 14, 2007 6:18 pm
Thanks simplicity I'll add the option.



