mIRC Homepage
Posted By: Exuviax Creating Directories with mIRC - 14/12/14 09:10 AM
So I hoping that I can create Directories to store configuration files in for website hosting. Basically, mIRC will create a directory of the Channel's name on JOIN, then it will store all files for that channel in that Directory.

Here is the code I have

on *:JOIN:#: {
if ($nick == $me) {
if ($read(C:\Users\Randy\Documents\ExubotWebsite\ $+ $right(#,-1))) { return }
write C:\Users\Randy\Documents\ExubotWebsite\ $+ $right(#,-1)
}
}


This, however, only created an unnamed file smirk

Also, is there a way to copy files from say a "Default" directory into the newly created one on creation?
Posted By: Wims Re: Creating Directories with mIRC - 14/12/14 10:39 AM
To create /help /mkdir
To move /help /rename
© mIRC Discussion Forums