mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Mar 2014
Posts: 65
E
Exuviax Offline OP
Babel fish
OP Offline
Babel fish
E
Joined: Mar 2014
Posts: 65
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?

Last edited by Exuviax; 14/12/14 09:44 AM.

I do things with stuff that makes other things do stuff.
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
To create /help /mkdir
To move /help /rename


#mircscripting @ irc.swiftirc.net == the best mIRC help channel

Link Copied to Clipboard